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

Commit 012da5a2 authored by Adam Powell's avatar Adam Powell
Browse files

Fix bug 533274 - Menu key opens wrong menu in action mode

Don't open the options menu in response to the menu key when an action
mode is active.

Change-Id: I89cd251dd14276fc381e20f82725d42ac9264181
parent 453091b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -759,7 +759,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
        if (mPanelChordingKey != 0) {
            mPanelChordingKey = 0;

            if (event.isCanceled()) {
            if (event.isCanceled() || (mDecor != null && mDecor.mActionMode != null)) {
                return;
            }