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

Commit c1341a7f authored by Eric Biggers's avatar Eric Biggers Committed by Automerger Merge Worker
Browse files

Remove clearEncryptionPassword() from LockPatternUtils am: 0a9389d2 am: a8daebb9

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2016258

Change-Id: I8829b879fdd22f5a029a269d17113928df4f4827
parents c76db81e a8daebb9
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -762,17 +762,6 @@ public class LockPatternUtils {
        return StorageManager.isFileEncryptedNativeOrEmulated();
    }

    /**
     * Clears the encryption password.
     */
    public void clearEncryptionPassword() {
        try {
            getLockSettings().updateEncryptionPassword(StorageManager.CRYPT_TYPE_DEFAULT, null);
        } catch (RemoteException e) {
            Log.e(TAG, "Couldn't clear encryption password");
        }
    }

    /**
     * Retrieves the quality mode for {@code userHandle}.
     * @see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)