summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Rhed Jao <rhedjao@google.com> 2023-04-11 12:32:09 +0000
committer Rhed Jao <rhedjao@google.com> 2023-06-09 06:55:23 +0000
commit95982a5f17d2c0a656a591409d2a87631decd8d7 (patch)
tree3eb34c06901669198ce89558f7711c07a4bfd6b6 /libs/androidfw/ZipFileRO.cpp
parentbf44988f67cde401089f957cdf510d4c9e6f82df (diff)
Add a verification flow for the user to exit repair mode
Create a special user id USER_REPAIR_MODE and an intent ACTION_CONFIRM_REPAIR_MODE_DEVICE_CREDENTIAL for the repair mode client triggering a exiting repair mode verification flow that verifies credentials the user enrolled in normal mode. Functions in LockSettings are updated to handle the new user id. Information needed to verify the repair mode user is retrieved from the repair mode file when the verifyCredential api is called. Bug: 277561275 Test: atest com.android.server.locksettings Test: am start -a android.app.action.PREPARE_REPAIR_MODE_DEVICE_CREDENTIAL settings put global repair_mode_active 1 am start -a android.app.action.CONFIRM_REPAIR_MODE_DEVICE_CREDENTIAL The credential is verified successfully. Change-Id: I51699d157e9de1a57bc36797ea005bcdd51aadb3 Merged-In: I51699d157e9de1a57bc36797ea005bcdd51aadb3
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions