summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2019-09-18 15:30:54 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:49:34 +0300
commit5df37f89c7420486adca1d1fb561e836c6e0cb37 (patch)
treeb0953ccc03d7aa14b6bbc07cfdbb03fc8c61d082
parenta99b3178f378a9dde8a5b12519747d76403c38a8 (diff)
sdm660-common: Don't apply persist.vendor.usb.config
* Otherwise adb turns on after reboot every time. Change-Id: I66631f1f38a3e3a16e6d3dad87c83d0a98e6f851
-rw-r--r--rootdir/etc/init.qcom.usb.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.usb.rc b/rootdir/etc/init.qcom.usb.rc
index f2c3b0a..17d222e 100644
--- a/rootdir/etc/init.qcom.usb.rc
+++ b/rootdir/etc/init.qcom.usb.rc
@@ -113,8 +113,8 @@ service vendor.qcom-usb-sh /vendor/bin/init.qcom.usb.sh
oneshot
disabled
-on property:persist.vendor.usb.config=*
- setprop persist.sys.usb.config ${persist.vendor.usb.config}
+#on property:persist.vendor.usb.config=*
+# setprop persist.sys.usb.config ${persist.vendor.usb.config}
on boot && property:ro.boot.usbconfigfs=true
setprop sys.usb.configfs 1