diff options
author | Tianjie Xu <xunchang@google.com> | 2019-11-07 11:14:55 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-11-07 11:14:55 -0800 |
commit | 4e0d813e39471a8575a70e6ac71a1129e918b3e3 (patch) | |
tree | 116f0d40d2e2c3669bfa43aa31d31a9a20920eab | |
parent | bf23ee57e40a317ee9912709b93710a557a3911d (diff) | |
parent | 6105aa1a4a2da0bc7af17b7d11789dae933de5ec (diff) | |
download | recovery-4e0d813e39471a8575a70e6ac71a1129e918b3e3.tar.gz |
Merge "Stop setting usb config from recovery init script"
am: 6105aa1a4a
Change-Id: I39a81f9e1e8327794f3f6032508181645870c9cd
-rw-r--r-- | etc/init.rc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/etc/init.rc b/etc/init.rc index 9786f610..d5b056ae 100644 --- a/etc/init.rc +++ b/etc/init.rc @@ -95,14 +95,6 @@ service fastbootd /system/bin/fastbootd on property:service.adb.root=1 restart adbd -# Always start adbd on userdebug and eng builds -on fs && property:ro.debuggable=1 - setprop sys.usb.config adb - -# Also start adbd on user build with an unlocked bootloader -on fs && property:ro.debuggable=0 && androidboot.verifiedbootstate=orange - setprop sys.usb.config adb - on fs && property:sys.usb.configfs=1 mount configfs none /config mkdir /config/usb_gadget/g1 0770 shell shell |