summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2011-11-20 21:41:48 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2011-11-20 21:43:06 +0700
commite7552f50e524cc4b4a775a462350d36bb83cf8f3 (patch)
tree0b27cf13a8309b0ef5b71fb6fc9086da71469274
parent4f2ef31d53fcf56061b5f221f8d12183afb270f6 (diff)
downloaddevice_samsung_galaxysmtd-e7552f50e524cc4b4a775a462350d36bb83cf8f3.zip
device_samsung_galaxysmtd-e7552f50e524cc4b4a775a462350d36bb83cf8f3.tar.gz
device_samsung_galaxysmtd-e7552f50e524cc4b4a775a462350d36bb83cf8f3.tar.bz2
Add USB support
-rw-r--r--galaxysmtd.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/galaxysmtd.mk b/galaxysmtd.mk
index 0a8a527..c6e73b8 100644
--- a/galaxysmtd.mk
+++ b/galaxysmtd.mk
@@ -50,6 +50,7 @@ PRODUCT_COPY_FILES := \
# Init files
PRODUCT_COPY_FILES += \
device/samsung/aries-common/init.aries.rc:root/init.aries.rc \
+ device/samsung/aries-common/init.aries.usb.rc:root/init.aries.usb.rc \
device/samsung/aries-common/lpm.rc:root/lpm.rc \
device/samsung/aries-common/ueventd.aries.rc:root/ueventd.aries.rc \
device/samsung/aries-common/setupenv.sh:recovery/root/sbin/setupenv.sh
@@ -156,6 +157,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.checkjni=false \
persist.sys.vold.switchexternal=1
+# Set default USB interface
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
+ persist.sys.usb.config=mtp
+
# we have enough storage space to hold precise GC data
PRODUCT_TAGS += dalvik.gc.type-precise