diff options
author | Ethan Chen <intervigil@gmail.com> | 2015-12-15 09:59:08 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-12-16 11:02:14 -0800 |
commit | ec4c775f1d4fbf17c249f3e763f7df0ed8ceff31 (patch) | |
tree | 1d542fa1400a882b7c4d97a93e9c994726df78e1 /services/java | |
parent | 8c15ebcd141bcc740e18956469d644fccc223e18 (diff) | |
download | frameworks_base-ec4c775f1d4fbf17c249f3e763f7df0ed8ceff31.zip frameworks_base-ec4c775f1d4fbf17c249f3e763f7df0ed8ceff31.tar.gz frameworks_base-ec4c775f1d4fbf17c249f3e763f7df0ed8ceff31.tar.bz2 |
Use custom ADB over wifi property
* Use a custom system property to trigger the real one, so we avoid
running afoul of any SELinux CTS requirements.
Change-Id: I22b6ce63cbfa92cb0ca24f302489376a3fd5dca5
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 90a4dc1..3146366 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -193,7 +193,7 @@ public final class SystemServer { int adbPort = CMSettings.Secure.getInt(mContentResolver, CMSettings.Secure.ADB_PORT, 0); // setting this will control whether ADB runs on TCP/IP or USB - SystemProperties.set("service.adb.tcp.port", Integer.toString(adbPort)); + SystemProperties.set("adb.network.port", Integer.toString(adbPort)); } } |