Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle SIM PIN decryption on devices without FBE support
* Although, Android 13 removed support for full-disk encryption entirely, we shouldn't assume that all legacy devices will upgrade to file-based encryption. * The following patch set will fix decryption of the PIN storage during Direct Boot mode on devices without "fileencryption=" clause present in their fstab file. The DevicePolicyManager will return unsupported encryption status for those devices, so the UserAuthenticationObserverService should be started, otherwise we'll mark all SIM PIN codes as corrupted since we attempt to start decryption before the hardware-backed KeyStore was unlocked. Signed-off-by: iusmac <[email protected]>
- Loading branch information