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

Commit e84cbcfe authored by Robin Lee's avatar Robin Lee Committed by Automerger Merge Worker
Browse files

Merge "Use originalView's context" into main am: aae315ef

parents fb52b485 aae315ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -861,7 +861,7 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind
        final MenuHelper helper;
        final boolean isPopup = !Float.isNaN(x) && !Float.isNaN(y);
        if (isPopup) {
            helper = mWindow.mContextMenu.showPopup(getContext(), originalView, x, y);
            helper = mWindow.mContextMenu.showPopup(originalView.getContext(), originalView, x, y);
        } else {
            helper = mWindow.mContextMenu.showDialog(originalView, originalView.getWindowToken());
        }