Merge "GlobalActions: Fix scrim with display cutouts"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2588dbce34
@@ -14,6 +14,8 @@
|
||||
|
||||
package com.android.systemui.globalactions;
|
||||
|
||||
import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
|
||||
import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.SOME_AUTH_REQUIRED_AFTER_USER_REQUEST;
|
||||
import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_NOT_REQUIRED;
|
||||
import static com.android.internal.widget.LockPatternUtils.StrongAuthTracker.STRONG_AUTH_REQUIRED_AFTER_USER_LOCKDOWN;
|
||||
@@ -245,6 +247,7 @@ class GlobalActionsDialog implements DialogInterface.OnDismissListener,
|
||||
} else {
|
||||
WindowManager.LayoutParams attrs = mDialog.getWindow().getAttributes();
|
||||
attrs.setTitle("ActionsDialog");
|
||||
attrs.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||
mDialog.getWindow().setAttributes(attrs);
|
||||
mDialog.show();
|
||||
mWindowManagerFuncs.onGlobalActionsShown();
|
||||
|
||||
Reference in New Issue
Block a user