diff options
author | Rubin Xu <rubinxu@google.com> | 2019-09-30 10:01:59 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2019-09-30 12:12:35 +0100 |
commit | f568ae7e83eefd7bdaa4d84ce18f80e80bdb32b5 (patch) | |
tree | 6a6cc800a7d6d55e0794400639a5004bd1268a25 /rs/java/android/renderscript/ProgramStore.java | |
parent | a2261e72a8e87926a250209d08bb2e27dfc20a10 (diff) |
Throw exception when SyntheticPassword key is missing
Throws early if keystore returns a null key. Otherwise the null
value will be passed into Conscrypt which will throw a confusing
exception "Only SecretKey is supported"
Also add a log when key is deleted on purpose, just in case it
helps us catching the case when the key's gone missing on some devices.
Bug: 141565253
Test: builds
Change-Id: Iee56c8295f84f662876704ac6583f4b34b56876b
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions