From: Sudheer Shanka Date: Thu, 30 May 2019 23:40:20 +0000 (-0700) Subject: Support "full" mode when updating bind mounts of a process. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8f2ff80e873a78e2a21c0b301d92a377b5f01f54;p=android-x86%2Fsystem-vold.git Support "full" mode when updating bind mounts of a process. Bug: 133829348 Test: manual Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java Change-Id: I5f48ecbfe8cce243fa75a2e8447ce1d4676003ad --- diff --git a/VolumeManager.cpp b/VolumeManager.cpp index 637dc47..44bff5a 100644 --- a/VolumeManager.cpp +++ b/VolumeManager.cpp @@ -554,6 +554,8 @@ int VolumeManager::remountUid(uid_t uid, int32_t mountMode) { storageSource = "/mnt/runtime/read"; } else if (mode == "write") { storageSource = "/mnt/runtime/write"; + } else if (mode == "full") { + storageSource = "/mnt/runtime/full"; } else { // Sane default of no storage visible _exit(0);