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

Commit 50d60652 authored by Josh Gao's avatar Josh Gao Committed by Gerrit Code Review
Browse files

Merge "Fix adb."

parents 1f5a49f7 7f4ab762
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;
}