From 5df37f89c7420486adca1d1fb561e836c6e0cb37 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Wed, 18 Sep 2019 15:30:54 +0800 Subject: sdm660-common: Don't apply persist.vendor.usb.config * Otherwise adb turns on after reboot every time. Change-Id: I66631f1f38a3e3a16e6d3dad87c83d0a98e6f851 --- rootdir/etc/init.qcom.usb.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rootdir') 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 -- cgit v1.2.3