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

Unverified Commit 916fdf54 authored by Ethan Chen's avatar Ethan Chen Committed by Michael Bestas
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 8a4e163d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -248,7 +248,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));
        }
    }