summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2023-10-10 22:50:51 +0000
committer Eric Biggers <ebiggers@google.com> 2023-10-10 23:01:45 +0000
commit1c95758cf9d6a72a493ec410ff585028adc2f4fb (patch)
tree58cbd88afa82fd1137375235f05f580d4386c1c3 /libs/androidfw/ObbFile.cpp
parent008cc90195926f9aa2b7223721e6ccb714bd85bf (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 (cherry picked from commit 5ebbd7d30dca21980550780beb7135526f78db86)
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions