Instant apps should have default view of storage?

Bug: 130604204, 128633081
Test: none
Change-Id: I0bcd250893527b8e78d1b2f28c3749e96bb3f4ba
This commit is contained in:
Jeff Sharkey
2019-04-16 13:42:26 -06:00
parent 815397ad47
commit 6aa7e4c105

View File

@@ -3766,7 +3766,7 @@ class StorageManagerService extends IStorageManager.Stub
return Zygote.MOUNT_EXTERNAL_NONE;
}
if (mPmInternal.isInstantApp(packageName, UserHandle.getUserId(uid))) {
return Zygote.MOUNT_EXTERNAL_NONE;
return Zygote.MOUNT_EXTERNAL_DEFAULT;
}
// Determine if caller is holding runtime permission