summaryrefslogtreecommitdiff
path: root/libs/androidfw/LocaleDataTables.cpp
diff options
context:
space:
mode:
author Nikolay Elenkov <nikolayelenkov@google.com> 2024-03-22 07:25:29 +0000
committer Nikolay Elenkov <nikolayelenkov@google.com> 2024-04-08 07:15:40 +0000
commitaeb86cdc59089855319bdb9998130399d2402ac1 (patch)
treed377fa53022eedfd8d2c51751c03875935d3a51b /libs/androidfw/LocaleDataTables.cpp
parent0d00031851e9f5d8ef93947205a7e8b5257f0d8d (diff)
Call ISecretKeeper.deleteAll() from deleteSecrets()
deleteSecrets() is called from rebootRecoveryWithCommand () before the --wipe_data command is passed to recovery and the device is force-rebooted. Calling ISecretkeeper.deleteAll() destroys all secrets managed by secretkeeper, thus ensuring that they are unrecoverable even if the full data wipe in recovery is interrupted or skipped. Bug: 324321147 Test: Manual - System -> Reset options -> Erase all data. Test: Hold VolDown key to interrupt reboot and stop at bootloader screen. Test: fastboot oem bcd wipe command && fastboot oem bcd wipe recovery Test: fastboot reboot Test: Device reboots into recovery and prompts to factory reset: Test: 'Cannot load Android system. Your data may be corrupt. ...' Change-Id: I4c1c6615c0877d447d06ae45dd8ff86f7f14685a
Diffstat (limited to 'libs/androidfw/LocaleDataTables.cpp')
0 files changed, 0 insertions, 0 deletions