Fixed wrong menu opening on menu hardware button
This commit is contained in:
parent
f6e5f78a23
commit
54fbf15ea2
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ public class MapActivity extends AccessibleActivity {
|
|||
}
|
||||
return true;
|
||||
} else if (keyCode == KeyEvent.KEYCODE_MENU && event.getRepeatCount() == 0) {
|
||||
mapActions.openOptionsMenuAsList();
|
||||
mapActions.openOptionsMenuAsDrawer();
|
||||
return true;
|
||||
} else if (keyCode == KeyEvent.KEYCODE_SEARCH && event.getRepeatCount() == 0) {
|
||||
Intent newIntent = new Intent(MapActivity.this, getMyApplication().getAppCustomization().getSearchActivity());
|
||||
|
|
Loading…
Reference in a new issue