diff options
author | Ethan Chen <intervigil@gmail.com> | 2015-12-15 10:00:00 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-12-16 11:01:50 -0800 |
commit | 909343f3dff4d2c4868584bfafe953032a92d9bd (patch) | |
tree | 6dc2e2b265640663e1948ca5df2be1751a67b663 /prebuilt | |
parent | 6bc84be5253fc553aacbef547d68def950e86474 (diff) | |
download | vendor_replicant-909343f3dff4d2c4868584bfafe953032a92d9bd.zip vendor_replicant-909343f3dff4d2c4868584bfafe953032a92d9bd.tar.gz vendor_replicant-909343f3dff4d2c4868584bfafe953032a92d9bd.tar.bz2 |
SELinux: Use custom ADB over network property
* Use a custom system property to trigger the real one, so we avoid
running afoul of any SELinux CTS requirements.
Change-Id: If5e7a275f492631a673284408f1e430a12358380
Diffstat (limited to 'prebuilt')
-rw-r--r-- | prebuilt/common/etc/init.local.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index 3868785..e29b015 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -139,6 +139,9 @@ service bugreport /system/bin/dumpstate -d -p -B \ keycodes 114 115 116 # adb over network +on property:adb.network.port=* + setprop service.adb.tcp.port ${adb.network.port} + on property:service.adb.tcp.port=5555 stop adbd start adbd |