Merge "Expose isUserKeyUnlocked as a TestAPI" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bfe45b77f8
@@ -1640,6 +1640,7 @@ package android.os.storage {
|
||||
public class StorageManager {
|
||||
method @NonNull public static java.util.UUID convert(@NonNull String);
|
||||
method @NonNull public static String convert(@NonNull java.util.UUID);
|
||||
method public static boolean isUserKeyUnlocked(int);
|
||||
}
|
||||
|
||||
public final class StorageVolume implements android.os.Parcelable {
|
||||
|
||||
@@ -1536,6 +1536,7 @@ public class StorageManager {
|
||||
}
|
||||
|
||||
/** {@hide} */
|
||||
@TestApi
|
||||
public static boolean isUserKeyUnlocked(int userId) {
|
||||
if (sStorageManager == null) {
|
||||
sStorageManager = IStorageManager.Stub
|
||||
|
||||
Reference in New Issue
Block a user