Avoid creating /mnt/user/<userId>/package/<packageName> for all pkgs.
Bug: 124466384
Test: manual
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Test: atest cts/tests/app/src/android/app/cts/DownloadManagerTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/MediaStore*
Change-Id: I678e199ef03805bb85a8a7ad9f1f7bae0a9fc56a
diff --git a/VolumeManager.h b/VolumeManager.h
index e369f68..bb93b13 100644
--- a/VolumeManager.h
+++ b/VolumeManager.h
@@ -152,8 +152,9 @@
int prepareSandboxes(userid_t userId, const std::vector<std::string>& packageNames,
const std::vector<std::string>& visibleVolLabels);
- int prepareSandboxTargets(userid_t userId, const std::vector<std::string>& packageNames,
- const std::vector<std::string>& visibleVolLabels);
+ int prepareSandboxTargets(userid_t userId, const std::vector<std::string>& visibleVolLabels);
+ int handleMountModeInstaller(int mountMode, int obbMountDirFd, const std::string& obbMountDir,
+ const std::string& sandboxId);
int mountPkgSpecificDirsForRunningProcs(userid_t userId,
const std::vector<std::string>& packageNames,
const std::vector<std::string>& visibleVolLabels,