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

Commit 0f298dbf authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Show pointer_location for all users

Bug: 269556690
Test: Manual, enable pointer_location, switch to guest user, observe
pointer_location overlay is still visible. See bug for more info.

Change-Id: I0d87e34241e1450d5ea38ad6c564affa19209147
parent c76fab19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2591,6 +2591,7 @@ public class DisplayPolicy {
        lp.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
                | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
                | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
        lp.privateFlags |= LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS;
        lp.setFitInsetsTypes(0);
        lp.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
        if (ActivityManager.isHighEndGfx()) {