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

Unverified Commit af90a5bc authored by Simon Chan's avatar Simon Chan
Browse files

fix(adb): parse serviceListenAddresses

parent aeff1f88
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -36,7 +36,10 @@ export class AdbTcpIpCommand extends AdbCommandBase {
        const persistPort = await this.adb.getProp("persist.adb.tcp.port");

        return {
            serviceListenAddresses: serviceListenAddresses.split(","),
            serviceListenAddresses:
                serviceListenAddresses != ""
                    ? serviceListenAddresses.split(",")
                    : [],
            servicePort: this.#parsePort(servicePort),
            persistPort: this.#parsePort(persistPort),
        };