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

Commit ad18395b authored by Josh Gao's avatar Josh Gao
Browse files

adbd: respect ADB_TRACE on host adbd.

Test: ADB_TRACE=1 adbd
Change-Id: I7cebbf7596add865fab95f5d6c746c0b8a16997a
parent 34cd60f0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ void start_device_log(void) {
int adb_trace_mask;

std::string get_trace_setting() {
#if ADB_HOST
#if ADB_HOST || !defined(__ANDROID__)
    const char* setting = getenv("ADB_TRACE");
    if (setting == nullptr) {
        setting = "";