Revert "Check MenuItem.isVisible() for keyboard shortcuts"
Just kidding we do want this to work like it used to.
This reverts commit e354a9e4da.
Change-Id: Ia51050a93e25c1ad16144b0da3f6178a98ad971a
This commit is contained in:
@@ -828,8 +828,7 @@ public class MenuBuilder implements Menu {
|
||||
|| shortcutChar == possibleChars.meta[2]
|
||||
|| (qwerty && shortcutChar == '\b' &&
|
||||
keyCode == KeyEvent.KEYCODE_DEL)) &&
|
||||
item.isEnabled() &&
|
||||
item.isVisible()) {
|
||||
item.isEnabled()) {
|
||||
items.add(item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user