Merge "Show pointer_location for all users" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
431d2f1d47
@@ -2590,6 +2590,7 @@ public class DisplayPolicy {
|
|||||||
lp.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
|
lp.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
|
||||||
| WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
|
| WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
|
||||||
| WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
|
| WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN;
|
||||||
|
lp.privateFlags |= LayoutParams.SYSTEM_FLAG_SHOW_FOR_ALL_USERS;
|
||||||
lp.setFitInsetsTypes(0);
|
lp.setFitInsetsTypes(0);
|
||||||
lp.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
lp.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||||
if (ActivityManager.isHighEndGfx()) {
|
if (ActivityManager.isHighEndGfx()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user