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

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

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

parents 2ae94d32 e84cbcfe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -812,7 +812,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());
        }