Skip to content

Commit

Permalink
CB-3068: Android menu not appearing as actionoverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed May 14, 2013
1 parent a001d8c commit cb07fe3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/src/org/apache/cordova/CordovaWebView.java
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,10 @@ else if(keyCode == KeyEvent.KEYCODE_MENU)
InputMethodManager imm = (InputMethodManager) cordova.getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
imm.hideSoftInputFromWindow(childView.getWindowToken(), 0);
cordova.getActivity().openOptionsMenu();
return true;
} else {
return super.onKeyDown(keyCode, event);
}
return true;
}

return super.onKeyDown(keyCode, event);
Expand Down

0 comments on commit cb07fe3

Please sign in to comment.