Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13bb7628 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Grant/revoke legacy "Storage" permissions."

parents 3b1b9f7c a1767a29
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
  }

+1 −0
Original line number Diff line number Diff line
@@ -1540,6 +1540,7 @@ public class StorageManager {
    }

    /** {@hide} */
    @SystemApi
    @TestApi
    public static boolean hasIsolatedStorage() {
        // Prefer to use snapshot for current boot when available