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:
@@ -762,17 +762,6 @@ public class LockPatternUtils {
|
|||||||
return StorageManager.isFileEncryptedNativeOrEmulated();
|
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}.
|
* Retrieves the quality mode for {@code userHandle}.
|
||||||
* @see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)
|
* @see DevicePolicyManager#getPasswordQuality(android.content.ComponentName)
|
||||||
|
|||||||
Reference in New Issue
Block a user