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
This commit is contained in:
parent
6a3ef488e5
commit
8f2ff80e87
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue