From 0d92dcdaea39a33277df743379b2dada661e433c Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Wed, 18 Sep 2019 15:30:54 +0800 Subject: [PATCH] exynos9610: Don't apply persist.vendor.usb.config * Otherwise adb turns on after reboot every time. Change-Id: I66631f1f38a3e3a16e6d3dad87c83d0a98e6f851 --- configs/init/init.exynos9610.usb.rc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/configs/init/init.exynos9610.usb.rc b/configs/init/init.exynos9610.usb.rc index 5e05050..5d57620 100644 --- a/configs/init/init.exynos9610.usb.rc +++ b/configs/init/init.exynos9610.usb.rc @@ -317,21 +317,9 @@ on property:sys.usb.ffs.ready=1 && property:sys.usb.config=accessory,adb write /config/usb_gadget/g1/UDC "13200000.dwc3" setprop sys.usb.state ${sys.usb.config} -on load_persist_props_action - setprop vendor.usb.config ${sys.usb.config} - setprop persist.vendor.mot.usb.config ${persist.sys.usb.config:-" "} - setprop persist.sys.usb.config " " - setprop persist.vendor.usb.config ${persist.sys.usb.config} - on property:sys.boot_completed=* setprop vendor.boot_completed ${sys.boot_completed} -on property:persist.vendor.usb.config=* - setprop persist.sys.usb.config ${persist.vendor.usb.config} - -on property:vendor.usb.config=* - setprop sys.usb.config ${vendor.usb.config} - on property:vendor.usb.controller=* setprop sys.usb.controller ${vendor.usb.controller} -- 2.20.1