OSDN Git Service

1/n: Prepare ConfirmDeviceCredentials to use BiometricPrompt
authorKevin Chyn <kchyn@google.com>
Thu, 4 Oct 2018 01:39:22 +0000 (18:39 -0700)
committerKevin Chyn <kchyn@google.com>
Thu, 1 Nov 2018 21:11:57 +0000 (14:11 -0700)
commite5a016e076822f1721774dae1480e5ee55924ec0
tree37a4f3ea214cccdde8786e54ac9aa6b651fdc6e9
parentdd3feeb155cc84c834ed4a53fd044f195d42add5
1/n: Prepare ConfirmDeviceCredentials to use BiometricPrompt

CDC is going to use BiometricPrompt instead. This change
removes FingerprintManager from CDC. BiometricPrompt
will show before pin/pattern/pass is shown.

Bug: 111461540

Test: modified BiometricPromptDemo to use
      KeyguardManager#createConfirmDeviceCredentialIntent,
Test: Fingerprint is gone from CDC, rotation works
Test: atest SettingsRoboTests

Change-Id: I9ce2aad71961af8a0d5ee636600e2fbdb6154e47
13 files changed:
res/drawable/ic_fingerprint_error.xml [deleted file]
res/layout-land/confirm_lock_password.xml
res/layout-land/confirm_lock_pattern.xml
res/layout-land/confirm_lock_pattern_normal.xml
res/layout/confirm_lock_password_base.xml
res/layout/confirm_lock_password_normal.xml
res/layout/confirm_lock_pattern_base.xml
res/layout/confirm_lock_pattern_normal_base.xml
res/values/strings.xml
src/com/android/settings/biometrics/fingerprint/FingerprintUiHelper.java [deleted file]
src/com/android/settings/password/ConfirmDeviceCredentialBaseFragment.java
src/com/android/settings/password/ConfirmLockPassword.java
src/com/android/settings/password/ConfirmLockPattern.java