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

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

Remove clearEncryptionPassword() from LockPatternUtils am: 0a9389d2

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

Change-Id: Ia2c040693e3568438160c1d85f53b9ca6b9b2a63
parents a051497d 0a9389d2
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)