Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cf91a09 authored by Rubin Xu's avatar Rubin Xu
Browse files

Restore resetKeyStore() logic of clearing SYSTEM uid

Keystore no longer clears keys critical to device encryption flow
so no need to skip clearing SYSTEM's keystore entries here.

Bug: 34600579
Test: Add device lock under synthtic password, goto Settings/security/encryption,
      tap clear credentials and verify device lock is still intact.
Change-Id: I191a545181771693fd2d75f1c23d14a6b74278af
Merged-In: I191a545181771693fd2d75f1c23d14a6b74278af
parent ecabc596
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ public class LockSettingsService extends ILockSettings.Stub {
     */
    private static final int[] SYSTEM_CREDENTIAL_UIDS = {
            Process.WIFI_UID, Process.VPN_UID,
            Process.ROOT_UID };
            Process.ROOT_UID, Process.SYSTEM_UID };

    // This class manages life cycle events for encrypted users on File Based Encryption (FBE)
    // devices. The most basic of these is to show/hide notifications about missing features until