diff options
author | Kevin Chyn <kchyn@google.com> | 2019-09-19 16:49:02 -0700 |
---|---|---|
committer | Kevin Chyn <kchyn@google.com> | 2019-10-03 14:00:16 -0700 |
commit | 8cbb488b9a1a8526de1411651fd1a341a6e80b91 (patch) | |
tree | 5b288b3b491b8b8195397a5dcc592a173655adc6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ff168dc49db48078f242d8c93210746b291cfbb9 (diff) |
13/n: persist device credential across configuration changes
1) AuthContainerView can be started in either `biometric` or `credential`
views. This is to potentially support an API where only credential
is allowed/requested.
2) When onSaveState, AuthContainerView saves both the states of
`biometric` and `credential` visibility. In the case of configuration
change, AuthController is responsibile for checking the visibility
and creating a AuthContainerView with the correct initial view.
3) When AuthCredentialView is the initial view, it owns the panel
expansion.
4) Added landscape layout
Bug: 140127687
Test: atest com.android.systemui.biometrics
Test: BiometricPromptDemo, use pattern, rotate device. auth, cancel,
demo logs are correct.
Change-Id: I1f501cf13b924353f251a69757fdb9d7e0bf1d21
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions