summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2017-09-01 14:45:16 -0700
committerShawn Willden <swillden@google.com>2017-09-12 04:13:11 +0000
commitda5dae23f9cd5a2776b7f70a58e234dd8a9fcdf7 (patch)
tree788854828cf3a1b6b9e2c6345c3b882c3589add3 /tools/aapt2/java/JavaClassGenerator.cpp
parentec02583438effc8b3559ccdfa6c78a8fe1da6fc4 (diff)
Fix use of auth-bound keys after screen lock removal
When an auth-bound key is used after the screen lock has been removed by the user, KeyStore.begin retruns UNINITIALIZED. This patch adds handling for this error code, indicating that the key that was to be used was permanently invalidated. Bug: 65200397 Test: CtsVerifier ScreenLockBoundKeysTest: 1. Run test 2. with CtsVerifier in the background remove the screen lock through the settings dialog 3. Select VtsVerifier in 'recents' 4. Run test again Change-Id: If68ba0eb2f9c04655fe8c9eea28c4491eae8e92f (cherry picked from commit d07d3384279c0c07c5c6747ea8d0c5684264c9d0)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions