Merge "Show pointer_location for all users" am: a057129f43 am: a0823aa307

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2455345

Change-Id: I89b05c249f5b1b052d3f8072034057beaaef66a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-02-28 19:48:25 +00:00
committed by Automerger Merge Worker

View File

@@ -2802,6 +2802,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()) {