Skip to content

Commit

Permalink
Fixed menu key drawer open using wrong drawer gravity (fixes #499).
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed Nov 16, 2015
1 parent 89d524c commit 7d0a9fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ public void closeDrawer() {
public boolean onKeyDown(int keyCode, KeyEvent e) {
if (keyCode == KeyEvent.KEYCODE_MENU) {
if (!mDrawerLayout.isDrawerOpen(GravityCompat.START))
mDrawerLayout.openDrawer(GravityCompat.END);
mDrawerLayout.openDrawer(GravityCompat.START);
else
closeDrawer();

Expand Down

0 comments on commit 7d0a9fe

Please sign in to comment.