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

Commit 5287e1fe authored by Risan's avatar Risan Committed by android-build-merger
Browse files

Merge "isReservedSupported=true when running as container" am: e0076e41 am: a228f69e

am: d9231a09

Change-Id: Id2f4862faa57099d6b15f06567bdb53fd2f33b03
parents b3431dfb d9231a09
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ import android.content.pm.PackageStats;
import android.content.pm.UserInfo;
import android.net.Uri;
import android.os.Binder;
import android.os.Build;
import android.os.Environment;
import android.os.FileUtils;
import android.os.Handler;
@@ -165,7 +166,8 @@ public class StorageStatsService extends IStorageStatsManager.Stub {
    @Override
    public boolean isReservedSupported(String volumeUuid, String callingPackage) {
        if (volumeUuid == StorageManager.UUID_PRIVATE_INTERNAL) {
            return SystemProperties.getBoolean(StorageManager.PROP_HAS_RESERVED, false);
            return SystemProperties.getBoolean(StorageManager.PROP_HAS_RESERVED, false)
                    || Build.IS_CONTAINER;
        } else {
            return false;
        }