diff options
author | Kenny Root <kroot@google.com> | 2019-11-08 14:36:03 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2020-01-07 08:18:02 -0800 |
commit | f76cfc314c6e844bb28879c6a487bda1afcb7077 (patch) | |
tree | 62f56303af8172f636bb2e9cb9a1af23d173b422 /packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java | |
parent | 28d6bcb90e003126ea547bacca1a34a6872dfb4a (diff) |
Support Resume on Reboot
When an OTA is downloaded, the RecoverySystem can be triggered to store
the user's lock screen knowledge factor in a secure way using the
IRebootEscrow HAL. This will allow the credential encrypted (CE)
storage, keymaster credentials, and possibly others to be unlocked when
the device reboots after an OTA.
Bug: 63928581
Test: atest FrameworksServicesTests:RebootEscrowDataTest \
FrameworksServicesTests:LockSettingsServiceTests \
FrameworksServicesTests:RecoverySystemServiceTest \
FrameworksServicesTests:RebootEscrowManagerTests
Test: use fake OTA console app to apply update
Change-Id: I59df6942b27ea2bdd11b757922f5169085a325f0
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java index c67deccb1f62..6d865ab525f3 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardPinBasedInputView.java @@ -116,6 +116,8 @@ public abstract class KeyguardPinBasedInputView extends KeyguardAbsKeyInputView return R.string.kg_prompt_reason_device_admin; case PROMPT_REASON_USER_REQUEST: return R.string.kg_prompt_reason_user_request; + case PROMPT_REASON_PREPARE_FOR_UPDATE: + return R.string.kg_prompt_reason_prepare_for_update_pin; case PROMPT_REASON_NONE: return 0; default: |