Merge "Grant/revoke legacy "Storage" permissions."
This commit is contained in:
@@ -4588,6 +4588,7 @@ package android.os.storage {
|
||||
method public void allocateBytes(java.util.UUID, long, int) throws java.io.IOException;
|
||||
method public void allocateBytes(java.io.FileDescriptor, long, int) throws java.io.IOException;
|
||||
method public long getAllocatableBytes(java.util.UUID, int) throws java.io.IOException;
|
||||
method public static boolean hasIsolatedStorage();
|
||||
field public static final int FLAG_ALLOCATE_AGGRESSIVE = 1; // 0x1
|
||||
}
|
||||
|
||||
|
||||
@@ -1540,6 +1540,7 @@ public class StorageManager {
|
||||
}
|
||||
|
||||
/** {@hide} */
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static boolean hasIsolatedStorage() {
|
||||
// Prefer to use snapshot for current boot when available
|
||||
|
||||
Reference in New Issue
Block a user