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

Commit 37c21bf9 authored by dianlujitao's avatar dianlujitao Committed by Luca Stefani
Browse files

adbd: Initialize adbroot status to false

Change-Id: I6d5dc84974dff1a219702fb628e08517848977eb
parent b7754849
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ void restart_root_service(unique_fd fd) {
#endif

#if defined(__ANDROID__) && !defined(__ANDROID_RECOVERY__)
    bool enabled;
    bool enabled = false;
    if (auto status = service->getEnabled(&enabled); !status.isOk()) {
#endif
    if (!__android_log_is_debuggable()) {