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

Commit 7851ace5 authored by Adrian Roos's avatar Adrian Roos
Browse files

PointerLocation: do not letterbox for cutouts

Change-Id: I8eb662a4e58f6ad6b1382e20d6c59461886df473
Fixes: 77789607
Test: Enable "show pointer location" in developer settings, verify the displayed location is not offset.
parent 42a53783
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2549,6 +2549,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                    | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
                    | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                    | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
            lp.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
            if (ActivityManager.isHighEndGfx()) {
                lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED;
                lp.privateFlags |=