Android: Fix nav/notification bar getting stuck when editing layout
This commit is contained in:
parent
e85f7da874
commit
4bcf8b3ce9
|
@ -430,12 +430,10 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde
|
|||
|
||||
case 5: // Edit Touchscreen Controller Layout
|
||||
{
|
||||
if (mTouchscreenController != null) {
|
||||
if (mTouchscreenController != null)
|
||||
mTouchscreenController.startLayoutEditing();
|
||||
} else {
|
||||
Toast.makeText(this, R.string.emulation_activity_touchscreen_controller_not_active, Toast.LENGTH_SHORT);
|
||||
}
|
||||
|
||||
onMenuClosed();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue