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

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

Remove clearEncryptionPassword() from LockPatternUtils am: 50cfdac9

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

Change-Id: Ied2dbba9bfb5394623572b64ab4293db7f03c8a8
parents cf0123b8 50cfdac9
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -783,17 +783,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)