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

Commit ff6d1a96 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "Fix adb."

am: 50d60652

Change-Id: I55b6c174b4e57086b370e44ff7c0de053f2b4ad6
parents db3c28f0 50d60652
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -60,8 +60,8 @@ void adb_get_transport(TransportType* type, const char** serial) {
}

void adb_set_socket_spec(const char* socket_spec) {
    if (!__adb_server_socket_spec) {
        LOG(FATAL) << "attempted to reinitialize adb_server_socket_spec";
    if (__adb_server_socket_spec) {
        LOG(FATAL) << "attempted to reinitialize adb_server_socket_spec " << socket_spec << " (was " << __adb_server_socket_spec << ")";
    }
    __adb_server_socket_spec = socket_spec;
}