Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5eaf0064 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 410f7ee4: Merge "Check MenuItem.isVisible() for keyboard shortcuts" into lmp-mr1-dev

* commit '410f7ee4':
  Check MenuItem.isVisible() for keyboard shortcuts
parents 281763ba 410f7ee4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -828,7 +828,8 @@ public class MenuBuilder implements Menu {
                      || shortcutChar == possibleChars.meta[2]
                      || (qwerty && shortcutChar == '\b' &&
                          keyCode == KeyEvent.KEYCODE_DEL)) &&
                  item.isEnabled()) {
                  item.isEnabled() &&
                  item.isVisible()) {
                items.add(item);
            }
        }