summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--overlay/frameworks/base/core/res/res/xml/storage_list.xml6
2 files changed, 5 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index ff84666..9fd8c7f 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -85,6 +85,7 @@ WIFI_DRIVER_FW_PATH_AP := "/vendor/firmware/fw_bcmdhd_apsta.bin"
# Vold
BOARD_VOLD_EMMC_SHARES_DEV_MAJOR := true
+TARGET_USE_CUSTOM_LUN_FILE_PATH := "/sys/devices/platform/s3c-usbgadget/gadget/lun%d/file"
# Recovery
TARGET_USERIMAGES_USE_EXT4 := true
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 b31728a..6e511b7 100644
--- a/overlay/frameworks/base/core/res/res/xml/storage_list.xml
+++ b/overlay/frameworks/base/core/res/res/xml/storage_list.xml
@@ -36,10 +36,12 @@
<storage android:mountPoint="/mnt/sdcard"
android:storageDescription="@string/storage_usb"
android:primary="true"
- android:removable="false" />
+ android:removable="false"
+ android:allowMassStorage="true" />
<storage android:mountPoint="/mnt/emmc"
android:storageDescription="@string/storage_sd_card"
android:primary="false"
- android:removable="true" />
+ android:removable="true"
+ android:allowMassStorage="true" />
</StorageList>