From 097b62801ea812b5221f11b44c30b19836d98d17 Mon Sep 17 00:00:00 2001 From: HazouPH Date: Mon, 23 Feb 2015 21:43:56 +0100 Subject: [PATCH] Fix Bluetooth and USB Tethering + Reformatting config.xml and removing non used ones or stock declared Change-Id: I5113c1348eb82cd82d4b2e8cca32bc619b84624d --- .../base/core/res/res/values/config.xml | 59 +++++++------------ rootdir/init.moto.usb.rc | 8 +-- 2 files changed, 25 insertions(+), 42 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 2328797..7108f1d 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -21,23 +21,11 @@ true - - false - false - - - true - - false - true + + false true @@ -58,9 +46,6 @@ Software implementation will be used if config_hardware_auto_brightness_available is not set --> true - - rmnet0 - true @@ -135,11 +120,6 @@ 255 - - 0 - - wifi,1,1,1,-1,true - mobile,0,0,0,-1,true - mobile_mms,2,0,2,60000,true - mobile_supl,3,0,2,60000,true - mobile_dun,4,0,2,60000,true - mobile_hipri,5,0,3,60000,true - bluetooth,7,7,1,-1,true - mobile_fota,10,0,2,60000,true - mobile_ims,11,0,2,60000,true - mobile_cbs,12,0,2,60000,true - mobile_agps,30,0,2,60000,true - mobile_entitle,34,0,2,60000,true - mobile_corpsync,35,0,2,60000,true - mobile_stdhipri,36,0,2,60000,true - mobile_800apn,37,0,2,60000,true + "wifi,1,1,1,-1,true" + "mobile,0,0,0,-1,true" + "mobile_mms,2,0,2,60000,true" + "mobile_supl,3,0,2,60000,true" + "mobile_dun,4,0,2,60000,true" + "mobile_hipri,5,0,3,60000,true" + "bluetooth,7,7,1,-1,true" + "ethernet,9,9,1,-1,true" + "mobile_fota,10,0,2,60000,true" + "mobile_ims,11,0,2,60000,true" + "mobile_cbs,12,0,2,60000,true" + "wifi_p2p,13,1,0,-1,true" + "mobile_ia,14,0,2,-1,true" + "mobile_agps,30,0,2,60000,true" + "mobile_entitle,34,0,2,60000,true" + "mobile_corpsync,35,0,2,60000,true" + "mobile_stdhipri,36,0,2,60000,true" + "mobile_800apn,37,0,2,60000,true" "wlan\\d" - "softap.*"