summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Rhed Jao <rhedjao@google.com> 2023-05-17 10:44:37 +0000
committer Eric Biggers <ebiggers@google.com> 2023-10-10 23:01:45 +0000
commit008cc90195926f9aa2b7223721e6ccb714bd85bf (patch)
treefe747c31fbc9312505d4bcdc0f17e67dc24234ea /api/api.go
parent0e1d0ecf51f1134183bbda5c2b3e8d727b4bcecd (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 (cherry picked from commit e7a3e9fafd455e6c5d485dd661cc74198e033030)
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions