summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Rhed Jao <rhedjao@google.com> 2023-05-17 10:44:37 +0000
committer Rhed Jao <rhedjao@google.com> 2023-06-09 06:54:33 +0000
commitbf44988f67cde401089f957cdf510d4c9e6f82df (patch)
tree7e9ba42d8a3a70cec7fd03ca59bfb2d213bac990 /libs/androidfw/ZipFileRO.cpp
parent5f433062b0b1390a5da6711b6c5d40e53b5b7d2d (diff)
Create a verify flag to support verification for entering repair mode
Add a flag provided to verifyCredential API to support verification for entering repair mode. If the flag is set, the API writes the password data to the repair mode file after the user credential is verified successfully. The file is deleted once the device boots into normal mode. Bug: 277561275 Test: atest com.android.server.locksettings Test: adb shell dumpsys lock_settings Test: am start -a android.app.action.PREPARE_REPAIR_MODE_DEVICE_CREDENTIAL The file is created in /metadata/repair-mode after the credential is verified. Change-Id: I8e22c1c9045c1c67de72fae6e9ed581bb4f04b96 Merged-In: I8e22c1c9045c1c67de72fae6e9ed581bb4f04b96
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions