Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68a4adfe authored by Ethan Chen's avatar Ethan Chen Committed by Gerrit Code Review
Browse files

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
parent b2047f4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,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));
        }
    }