Add fingerprint backup message
Test: Manual Bug: 62844631 Change-Id: I7ce5fd4033c9f37f7aa170750edc7ffe0b583fcf
This commit is contained in:
@@ -32,6 +32,13 @@
|
|||||||
android:gravity="center_horizontal"
|
android:gravity="center_horizontal"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/fingerprint_backup_message"
|
||||||
|
style="@style/SuwDescription.Glif"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/password_container"
|
android:id="@+id/password_container"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@@ -339,6 +339,16 @@ public class ChooseLockPassword extends SettingsActivity {
|
|||||||
mNextButton = (Button) view.findViewById(R.id.next_button);
|
mNextButton = (Button) view.findViewById(R.id.next_button);
|
||||||
mNextButton.setOnClickListener(this);
|
mNextButton.setOnClickListener(this);
|
||||||
|
|
||||||
|
if (mForFingerprint) {
|
||||||
|
TextView fingerprintBackupMessage =
|
||||||
|
view.findViewById(R.id.fingerprint_backup_message);
|
||||||
|
if (fingerprintBackupMessage != null) {
|
||||||
|
fingerprintBackupMessage.setVisibility(View.VISIBLE);
|
||||||
|
fingerprintBackupMessage
|
||||||
|
.setText(R.string.setup_lock_settings_picker_fingerprint_message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mIsAlphaMode = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC == mRequestedQuality
|
mIsAlphaMode = DevicePolicyManager.PASSWORD_QUALITY_ALPHABETIC == mRequestedQuality
|
||||||
|| DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC == mRequestedQuality
|
|| DevicePolicyManager.PASSWORD_QUALITY_ALPHANUMERIC == mRequestedQuality
|
||||||
|| DevicePolicyManager.PASSWORD_QUALITY_COMPLEX == mRequestedQuality;
|
|| DevicePolicyManager.PASSWORD_QUALITY_COMPLEX == mRequestedQuality;
|
||||||
|
Reference in New Issue
Block a user