Remove clearEncryptionPassword() from LockPatternUtils am: 0a9389d296

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

Change-Id: Ia2c040693e3568438160c1d85f53b9ca6b9b2a63
This commit is contained in:
Eric Biggers
2022-03-10 00:55:41 +00:00
committed by Automerger Merge Worker

View File

@@ -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)