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

Commit 637422b2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "PointerLocation: do not letterbox for cutouts" into pi-dev

parents 878d0e90 7851ace5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2550,6 +2550,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 |=