Fixed wrong menu opening on menu hardware button

This commit is contained in:
Denis 2014-10-09 19:47:08 +03:00
parent f6e5f78a23
commit 54fbf15ea2

View file

@ -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());