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

Commit 54973710 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "Environment.isExternalStorageRemovable() is false if external storage...

Merge "Environment.isExternalStorageRemovable() is false if external storage is emulated" into honeycomb
parents 069ee21a 70ee3ca6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -416,6 +416,7 @@ public class Environment {
     * <p>See {@link #getExternalStorageDirectory()} for more information.
     */
    public static boolean isExternalStorageRemovable() {
        if (isExternalStorageEmulated()) return false;
        return Resources.getSystem().getBoolean(
                com.android.internal.R.bool.config_externalStorageRemovable);
    }