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

Commit 25ef3030 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 4136005 - Extended menus do not work

Fix for extended panel menus on small-screen devices.

Change-Id: I7788563019648867872d88ac974bfacdce8af385
parent 7af86edf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -903,7 +903,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
    }

    private void reopenMenu(boolean toggleMenuMode) {
        if (mActionBar != null) {
        if (mActionBar != null && mActionBar.isOverflowReserved()) {
            final Callback cb = getCallback();
            if (!mActionBar.isOverflowMenuShowing() || !toggleMenuMode) {
                if (cb != null && !isDestroyed() && mActionBar.getVisibility() == View.VISIBLE) {