Merge "Make ripple window truly full screen." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a72513ef1f
@@ -114,9 +114,11 @@ public class WirelessChargingAnimation {
|
||||
params.height = WindowManager.LayoutParams.MATCH_PARENT;
|
||||
params.width = WindowManager.LayoutParams.MATCH_PARENT;
|
||||
params.format = PixelFormat.TRANSLUCENT;
|
||||
|
||||
params.type = WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG;
|
||||
params.setTitle("Charging Animation");
|
||||
params.layoutInDisplayCutoutMode =
|
||||
WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
params.setFitInsetsTypes(0 /* ignore all system bar insets */);
|
||||
params.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
|
||||
| WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE
|
||||
| WindowManager.LayoutParams.FLAG_DIM_BEHIND;
|
||||
|
||||
Reference in New Issue
Block a user