Remove clearEncryptionPassword() from LockPatternUtils am: 0a9389d296 am: a8daebb9d0

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

Change-Id: I8829b879fdd22f5a029a269d17113928df4f4827
This commit is contained in:
Eric Biggers
2022-03-10 01:18:06 +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)