Merge "Allow sandboxed apps to access only package specific dirs." into qt-dev

This commit is contained in:
Sudheer Shanka 2019-04-17 22:07:47 +00:00 committed by Android (Google) Code Review
commit 0a9469e923

View file

@ -119,7 +119,8 @@ VolumeManager::VolumeManager() {
VolumeManager::~VolumeManager() {}
static bool hasIsolatedStorage() {
return GetBoolProperty(kIsolatedStorageSnapshot, GetBoolProperty(kIsolatedStorage, true));
return false &&
GetBoolProperty(kIsolatedStorageSnapshot, GetBoolProperty(kIsolatedStorage, true));
}
int VolumeManager::updateVirtualDisk() {
@ -1098,6 +1099,8 @@ int VolumeManager::remountUidLegacy(uid_t uid, int32_t mountMode) {
mode = "read";
break;
case VoldNativeService::REMOUNT_MODE_WRITE:
case VoldNativeService::REMOUNT_MODE_LEGACY:
case VoldNativeService::REMOUNT_MODE_INSTALLER:
mode = "write";
break;
default: