From 139ef47e40813ab92fb2003b1ec9ca0e8192fe2a Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Sun, 15 Nov 2015 23:52:08 -0200 Subject: [PATCH] galaxys2-common: Remove persist.sys.usb.config override The variable persist.sys.usb.config is no longer honored by the framework, and it's presence causes unnecessary toggling of the USB driver, which disonnects ADB and makes the device's connection unstable. Delete it. Bug: 21404762 Bug: 18905620 Change-Id: I0666d2044a63c78232af8a1622bf3d01ed44b1ca --- common.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common.mk b/common.mk index 3c63b55..16ffa9e 100644 --- a/common.mk +++ b/common.mk @@ -187,10 +187,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_TAGS += dalvik.gc.type-precise -# Set default USB interface -PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ - persist.sys.usb.config=mtp - # Keylayouts PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/excluded-input-devices.xml:system/etc/excluded-input-devices.xml