Merge "adb: check return value of register_socket_transport."