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

Commit e45d8be5 authored by Abhishek Arpure's avatar Abhishek Arpure Committed by Gerrit - the friendly Code Review server
Browse files

Show submenu from menu list on hardware MENU key press

Submenu is not shown when menu list is open by pressing
hardware MENU key. But it is shown properly when menu is
open from overflow button.
This change will unify the behavior of MENU key &
overflow button.

Crs-Fixed: 622050
Change-Id: I91e336df845febf048583989c8c6b831e04856b1
parent 7e6fe8e9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -341,7 +341,10 @@ public class ActionMenuPresenter extends BaseMenuPresenter
     */
    public boolean dismissPopupMenus() {
        boolean result = hideOverflowMenu();

        if(result) {
           result |= hideSubMenus();
        }
        return result;
    }