Show Class 3 consent screen in enrollment with strong face.

Test: atest FaceEnrollIntroductionTest
Bug: 271903097
Change-Id: I1959a82862790ff918571145b3651d164aa118b6
This commit is contained in:
Hao Dong
2023-03-14 19:04:27 +00:00
parent 509f94a8c3
commit 322df0454f
4 changed files with 112 additions and 27 deletions

View File

@@ -489,15 +489,18 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
finish();
}
@Override
protected void initViews() {
super.initViews();
protected void updateDescriptionText() {
if (mBiometricUnlockDisabledByAdmin && !mParentalConsentRequired) {
setDescriptionText(getDescriptionDisabledByAdmin());
}
}
@Override
protected void initViews() {
super.initViews();
updateDescriptionText();
}
@NonNull
protected PorterDuffColorFilter getIconColorFilter() {
if (mIconColorFilter == null) {