From 7655be05c1476ac2e3834e7757f56e18aa2a1713 Mon Sep 17 00:00:00 2001 From: Tony Mak Date: Thu, 21 Apr 2016 10:27:43 +0100 Subject: [PATCH] New UI to hint user about strong auth Instead of having a separate textview, we now reuse the detail textview to show the hint. Fix: 28204828 Change-Id: I3eff3240bf7ecb1495fbf11a073a273a0de603ae --- res/layout/confirm_lock_password_base.xml | 12 ++----- res/layout/confirm_lock_pattern_base.xml | 12 ++----- res/values/strings.xml | 17 ++++++--- res/values/styles.xml | 5 --- .../ConfirmDeviceCredentialBaseFragment.java | 8 +---- .../android/settings/ConfirmLockPassword.java | 35 +++++++++---------- .../android/settings/ConfirmLockPattern.java | 29 +++++++-------- 7 files changed, 50 insertions(+), 68 deletions(-) diff --git a/res/layout/confirm_lock_password_base.xml b/res/layout/confirm_lock_password_base.xml index 536617d2f95..8e9a87b4c48 100644 --- a/res/layout/confirm_lock_password_base.xml +++ b/res/layout/confirm_lock_password_base.xml @@ -59,15 +59,9 @@ android:layout_marginEnd="16dp" android:layout_marginTop="16dp"/> - + - + Enter your work password to continue - - Pattern required after device restarts - - PIN required after device restarts + + Use your device pattern to continue. It\'s required after the device restarts. + + Enter your device PIN to continue. It\'s required after the device restarts. - Password required after device restarts + Enter your device password to continue. It\'s required after the device restarts. + + + Use your work pattern to continue. It\'s required after the device restarts. + + Enter your work PIN to continue. It\'s required after the device restarts. + + Enter your work password to continue. It\'s required after the device restarts. diff --git a/res/values/styles.xml b/res/values/styles.xml index 0eb566ce180..45d2c1178a6 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -357,11 +357,6 @@ @color/warning - -