Loading adb/daemon/restart_service.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ void restart_root_service(unique_fd fd) { #if defined(__ANDROID__) && !defined(__ANDROID_RECOVERY__) bool enabled = false; if (auto status = service->getEnabled(&enabled); !status.isOk()) { if (auto status = service->getEnabled(&enabled); !status.isOk() || !ALLOW_ADBD_ROOT) { #endif if (!__android_log_is_debuggable()) { WriteFdExactly(fd.get(), "adbd cannot run as root in production builds\n"); Loading Loading
adb/daemon/restart_service.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ void restart_root_service(unique_fd fd) { #if defined(__ANDROID__) && !defined(__ANDROID_RECOVERY__) bool enabled = false; if (auto status = service->getEnabled(&enabled); !status.isOk()) { if (auto status = service->getEnabled(&enabled); !status.isOk() || !ALLOW_ADBD_ROOT) { #endif if (!__android_log_is_debuggable()) { WriteFdExactly(fd.get(), "adbd cannot run as root in production builds\n"); Loading