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