vold2: Enable support for custom mount perm masks and wire to asec
Signed-off-by: San Mehat <san@google.com>
diff --git a/Volume.cpp b/Volume.cpp
index 787d4cd..6926d77 100644
--- a/Volume.cpp
+++ b/Volume.cpp
@@ -268,7 +268,8 @@
LOGI("%s checks out - attempting to mount\n", devicePath);
errno = 0;
- if (!(rc = Fat::doMount(devicePath, getMountpoint(), false, false))) {
+ if (!(rc = Fat::doMount(devicePath, getMountpoint(), false, false,
+ 1000, 1015, 0702, true))) {
LOGI("%s sucessfully mounted for volume %s\n", devicePath,
getLabel());
setState(Volume::State_Mounted);