Merge "Fix Wiping and LastAttemptBeforeWipe dialog are covered by CredentialView" into udc-qpr-dev

This commit is contained in:
Vincent Wang
2023-07-17 03:15:53 +00:00
committed by Android (Google) Code Review

View File

@@ -250,7 +250,7 @@ public class AuthContainerView extends LinearLayout
.setMessage(messageBody) .setMessage(messageBody)
.setPositiveButton(android.R.string.ok, null) .setPositiveButton(android.R.string.ok, null)
.create(); .create();
alertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_STATUS_BAR_SUB_PANEL); alertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
alertDialog.show(); alertDialog.show();
} }
@@ -263,7 +263,7 @@ public class AuthContainerView extends LinearLayout
.setOnDismissListener( .setOnDismissListener(
dialog -> animateAway(AuthDialogCallback.DISMISSED_ERROR)) dialog -> animateAway(AuthDialogCallback.DISMISSED_ERROR))
.create(); .create();
alertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_STATUS_BAR_SUB_PANEL); alertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
alertDialog.show(); alertDialog.show();
} }