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

Commit 736a85f1 authored by Alan Viverette's avatar Alan Viverette
Browse files

Use default implementation for onForwardingStopped() in action menu

Otherwise we never exit forwarding if the popup has already been
dismissed.

Bug: 27886370
Change-Id: I3a7a51c18c15e12e2e9ef4cac853b87eb46d36de
parent a89a392a
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -346,16 +346,6 @@ public class ActionMenuItemView extends TextView
            }
            return false;
        }

        @Override
        protected boolean onForwardingStopped() {
            final ShowableListMenu popup = getPopup();
            if (popup != null) {
                popup.dismiss();
                return true;
            }
            return false;
        }
    }

    public static abstract class PopupCallback {