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

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

Merge "adbd: don't require authentication for userdebug/eng builds." am: bf62136b am: 0360ada8

am: 8020d1d8

Change-Id: I1e5ccc82b203609e0c72d046c22546f43df74db6
parents faffe3bf 8020d1d8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -159,7 +159,8 @@ int adbd_main(int server_port) {
    adbd_cloexec_auth_socket();

#if defined(ALLOW_ADBD_NO_AUTH)
    auth_required = android::base::GetBoolProperty("ro.adb.secure", true);
    // If ro.adb.secure is unset, default to no authentication required.
    auth_required = android::base::GetBoolProperty("ro.adb.secure", false);
#endif

    adbd_auth_init();