diff options
author | Kevin Chyn <kchyn@google.com> | 2019-09-16 16:04:38 -0700 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2019-10-03 14:00:16 -0700 |
commit | ff168dc49db48078f242d8c93210746b291cfbb9 (patch) | |
tree | 48f0d620af49ad31bf2bfa8c08ba6e7a8743b2da /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 396a84129fad2426bdbd104eff6fbf43cf3b5f69 (diff) |
12/n: Add LockPatternView for setDeviceCredentialAllowed(true)
Includes lock icon, title, subtitle, description, lock pattern view.
Corner radius and padding animates nicely from !=0 --> 0.
Support for password/pin will come in a subsequent CL.
Unit tests for AuthCredentialView will be added when
password/pin are implemented.
Support for persisting across configuration changes
and landscape view will also be added in a subsequent
change.
Test: BiometricPromptDemo with the following:
1) Confirm pattern, callback received
2) Rejected, error string shown
3) Lockout (5 attempts), countdown string shown,
pattern view disabled until countdown is over
4) Cancel pattern auth, callback received
Test: atest BiometricServiceTest
Test: atest com.android.systemui.biometrics
Change-Id: Idc01e33be0074a6c8a43f60b172a4391bfbe5e8a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions