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

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

Merge "adb: increase the authentication throttling limit." am: 393e5258

am: e4d79532

Change-Id: I4a0b0700cdee5f3b0e1577132080860402318851
parents 7f3a776a e4d79532
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -360,7 +360,7 @@ void handle_packet(apacket *p, atransport *t)
                adb_auth_verified(t);
                t->failed_auth_attempts = 0;
            } else {
                if (t->failed_auth_attempts++ > 10) adb_sleep_ms(1000);
                if (t->failed_auth_attempts++ > 256) adb_sleep_ms(1000);
                send_auth_request(t);
            }
        } else if (p->msg.arg0 == ADB_AUTH_RSAPUBLICKEY) {