forked from M66B/cm10-fxp-extended
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mass_storage.patch
24 lines (24 loc) · 965 Bytes
/
mass_storage.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/msm7x30.mk b/msm7x30.mk
index 9a3518d..bc9bcde 100644
--- a/msm7x30.mk
+++ b/msm7x30.mk
@@ -115,6 +115,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
hwui.disable_vsync=true \
debug.mdpcomp.logs=0 \
BUILD_UTC_DATE=0 \
- persist.sys.usb.config=mtp \
+ persist.sys.usb.config=mass_storage \
sys.mem.max_hidden_apps=10 \
debug.camcorder.disablemeta=1
diff --git a/overlay/frameworks/base/core/res/res/xml/storage_list.xml b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
index 216c42b..a3865f2 100644
--- a/overlay/frameworks/base/core/res/res/xml/storage_list.xml
+++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
@@ -38,6 +38,7 @@
<storage android:mountPoint="/storage/sdcard0"
android:storageDescription="@string/storage_sd_card"
android:primary="true"
+ android:allowMassStorage="true"
android:removable="true"
android:maxFileSize="4096" />
</StorageList>