From 1b38e330035833971663eeb5bccfa16e4ffc1e72 Mon Sep 17 00:00:00 2001 From: Daniel Rosenberg Date: Wed, 6 Sep 2017 15:25:40 -0700 Subject: Add support for gid derivation on private volumes This sdcardfs feature was moved under a mount option and is only needed on private volumes Test: Private emulated volume should attempt to mount with derive_gid option. Bug: 63245673 Change-Id: I40a8b15c298c815a4643007b9eca8269379fd2ac --- EmulatedVolume.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/EmulatedVolume.cpp b/EmulatedVolume.cpp index df91904..21b290a 100644 --- a/EmulatedVolume.cpp +++ b/EmulatedVolume.cpp @@ -84,6 +84,7 @@ status_t EmulatedVolume::doMount() { "-g", "1023", // AID_MEDIA_RW "-m", "-w", + "-G", mRawPath.c_str(), label.c_str(), NULL)) { -- cgit v1.2.3