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

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

Merge "Revert "adb: turn on libusb by default."" am: b2206767

am: de931dab

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