Update new consent screen for fingerprint

- Move top description into subtitle for landscape mode
- Update the button text

Bug: 177591560
Test: robotest and visual verified
1) Settings -> Security -> Fingerprint
2) Rotate the device and check if the description is on the right side

Change-Id: Ie20597fce48f73aa83c5d637682db1860c384a7a
This commit is contained in:
Mill Chen
2021-03-05 03:30:11 +08:00
parent 61aa289dac
commit c2be31a7d3
6 changed files with 145 additions and 26 deletions

View File

@@ -309,9 +309,8 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
protected void initViews() {
super.initViews();
TextView description = (TextView) findViewById(R.id.sud_layout_description);
if (mBiometricUnlockDisabledByAdmin) {
description.setText(getDescriptionResDisabledByAdmin());
setDescriptionText(getDescriptionResDisabledByAdmin());
}
}
}