Revision 6e194411
Added by Leszek Koltunski about 5 years ago
| src/main/java/org/distorted/states/RubikStatePlay.java | ||
|---|---|---|
| 190 | 190 |
@Override |
| 191 | 191 |
public void onClick(View view) |
| 192 | 192 |
{
|
| 193 |
if( mPlayPopup==null ) |
|
| 194 |
{
|
|
| 195 |
// I completely don't understand it, but Firebase says occasionally mPlayPopup is null here. Recreate. |
|
| 196 |
float width = act.getScreenWidthInPixels(); |
|
| 197 |
setupPlayWindow(act,width); |
|
| 198 |
} |
|
| 199 |
|
|
| 193 | 200 |
mPlayPopup.setFocusable(false); |
| 194 | 201 |
mPlayPopup.update(); |
| 195 | 202 |
|
Also available in: Unified diff
Bugfix for a rare Firebase crash.