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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23823705

Change-Id: I83a9bf75a27313bc2e0887eb04d11e67e748ee33
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Vincent Wang
2023-07-17 04:05:09 +00:00
committed by Automerger Merge Worker

View File

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