diff options
author | Roman Kiryanov <rkir@google.com> | 2024-04-03 11:14:00 -0700 |
---|---|---|
committer | Roman Kiryanov <rkir@google.com> | 2024-04-03 11:14:00 -0700 |
commit | 992cdb483667e8998a69eb142f289ce1c4dc16a3 (patch) | |
tree | b27499ee60fedf8bd5c909ffaa13b916db186aa4 | |
parent | 49a4b7683b49a336388310f66ceff4c3e2b49545 (diff) | |
download | goldfish-992cdb483667e8998a69eb142f289ce1c4dc16a3.tar.gz |
Disable adb over USB
and start adbd earlier. USB disables adbd otherwise.
Bug: 325306041
Test: adb shell
Change-Id: Ia328b2ef6b6bde5c8089ce1c708e73c9a0d2963b
Signed-off-by: Roman Kiryanov <rkir@google.com>
-rw-r--r-- | init.ranchu.rc | 2 | ||||
-rw-r--r-- | product/generic.mk | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/init.ranchu.rc b/init.ranchu.rc index f8045afc..7ee7c20e 100644 --- a/init.ranchu.rc +++ b/init.ranchu.rc @@ -61,6 +61,7 @@ on post-fs-data mkdir /data/vendor/var/run 0755 root root start qemu-device-state + start ranchu-adb-setup on zygote-start # Create the directories used by the Wireless subsystem @@ -103,7 +104,6 @@ on property:vendor.qemu.timezone=* on property:dev.bootcomplete=1 && property:vendor.qemu.dev.bootcomplete=0 setprop vendor.qemu.dev.bootcomplete 1 - start ranchu-adb-setup start qemu-props-bootcomplete start ranchu-setup diff --git a/product/generic.mk b/product/generic.mk index 541f24f1..a1a4efe9 100644 --- a/product/generic.mk +++ b/product/generic.mk @@ -59,6 +59,7 @@ PRODUCT_VENDOR_PROPERTIES += \ debug.stagefright.c2inputsurface=-1 \ debug.stagefright.ccodec=4 \ graphics.gpu.profiler.support=true \ + persist.sys.usb.config="" \ persist.sys.zram_enabled=1 \ wifi.direct.interface=p2p-dev-wlan0 \ wifi.interface=wlan0 \ |