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

Commit ef501512 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "adb: turn on libusb by default."

am: 817b2f3b

Change-Id: Iaeefdcc45a5b96243b0b47822361d71c6e154b6e
parents c46245a5 817b2f3b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ bool should_use_libusb() {
#if defined(_WIN32) || !ADB_HOST
    return false;
#else
    static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0;
    return enable;
    static bool disable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "0") == 0;
    return !disable;
#endif
}