From d7e51760430bc06617e7b42c77a8f4cfde80d041 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Mon, 8 Jan 2018 11:48:07 -0700 Subject: [PATCH] Add "default_normal" support to vold. This new flag isolates each user on a multi-user device for security reasons. Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.ExternalStorageHostTest#testSecondaryUsersInaccessible Bug: 64672411 Change-Id: I3db8dde597a7715ca680779ac57957fb12a92f8e --- model/EmulatedVolume.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/model/EmulatedVolume.cpp b/model/EmulatedVolume.cpp index d40cf3f..7f5c4ff 100644 --- a/model/EmulatedVolume.cpp +++ b/model/EmulatedVolume.cpp @@ -86,6 +86,7 @@ status_t EmulatedVolume::doMount() { "-m", "-w", "-G", + "-i", mRawPath.c_str(), label.c_str(), NULL)) {