diff options
author | Yo Chiang <yochiang@google.com> | 2020-02-19 16:40:46 +0800 |
---|---|---|
committer | Yo Chiang <yochiang@google.com> | 2020-02-19 11:11:29 +0000 |
commit | be20495f0bce4509c32bce2cdeaac3e3aea0754d (patch) | |
tree | 5024d9295b3c394beb24bdc043f9881d46bd2450 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3bdf29c1f6db23255ca6686d2c4805a11189b705 (diff) |
Key revocation check is permissive when device is unlocked
imageValidationThrowOrWarning() logs the error as a warning if device
bootloader is unlocked, else re-throw the error.
Device lock state is queried via PersistentDataBlockManager service.
Bug: 128892201
Test: adb shell am start-activity \
-n com.android.dynsystem/com.android.dynsystem.VerificationActivity \
-a android.os.image.action.START_INSTALL \
--el KEY_USERDATA_SIZE 8192 \
-d file:///storage/emulated/0/Download/aosp_arm64-dsu_test.zip \
--es ${IMAGE_KEY}
Test: Observe the logcat
Change-Id: I895e70d90624afda2bf7cd3b34ea8d21a1702163
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions