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

Commit bc98c55c authored by Michael Bestas's avatar Michael Bestas Committed by Matt Garnes
Browse files

Hide new methods instead of modifying the public API

Change-Id: I8a1b316f70a0dd76eb6c900d9c1a74e8e1765af3
(cherry picked from commit a852ea56)
parent 7b5ebe8e
Loading
Loading
Loading
Loading

api/current.txt

100755 → 100644
+0 −3
Original line number Diff line number Diff line
@@ -21651,9 +21651,6 @@ package android.os {
    method public static java.lang.String getExternalStorageState(java.io.File);
    method public static java.io.File getRootDirectory();
    method public static deprecated java.lang.String getStorageState(java.io.File);
    method public static java.io.File getSecondaryStorageDirectory();
    method public static java.lang.String getSecondaryStorageState();
    method public static boolean isNoEmulatedStorageExist();
    method public static boolean isExternalStorageEmulated();
    method public static boolean isExternalStorageEmulated(java.io.File);
    method public static boolean isExternalStorageRemovable();
+3 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@ public class Environment {
            return mExternalDirsForApp[0];
        }

        /** {@hide} */
        public File getSecondaryStorageDirectory() {
            return mExternalDirsForApp[1];
        }
@@ -425,6 +426,7 @@ public class Environment {
        return sCurrentUser.getExternalDirsForApp()[0];
    }

    /** {@hide} */
    public static File getSecondaryStorageDirectory() {
        throwIfUserRequired();
        return sCurrentUser.getExternalDirsForApp()[1];
@@ -788,6 +790,7 @@ public class Environment {
        return isExternalStorageRemovable(externalDir);
    }

    /** {@hide} */
    public static boolean isNoEmulatedStorageExist() {
        final StorageVolume volume = getNoEmulatedVolume();
        return (volume != null);