Revert "Revert "Add support for gid derivation on private volumes""
This reverts commit a3a60b372efb48a672848c7797efd57a4ec92303.
Reason for revert: All kernel prebuilts merged
(cherry picked from commit 75ae529bf86c33106e6a716ad054c6eea6deabc5)
Bug: 65600849
Bug: 65573871
Test: m
Change-Id: I75b0cb1d82213b875cbef8d39f4f1a8fb34b9795
diff --git a/EmulatedVolume.cpp b/EmulatedVolume.cpp
index df91904..21b290a 100644
--- a/EmulatedVolume.cpp
+++ b/EmulatedVolume.cpp
@@ -84,6 +84,7 @@
"-g", "1023", // AID_MEDIA_RW
"-m",
"-w",
+ "-G",
mRawPath.c_str(),
label.c_str(),
NULL)) {