Merge "PointerLocation: do not letterbox for cutouts" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
637422b2bf
@@ -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 |=
|
||||
|
||||
Reference in New Issue
Block a user