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

Commit 9813f5ba authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Allow sideloading without authentication.

Bug: http://b/22025550
Change-Id: I20f09ae442536f924f19ede0abf6a2bcc0a5cedf
parent 22ccc87a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
#include "sysdeps.h"

#include "adb.h"
#include "adb_auth.h"
#include "transport.h"

int adb_main(int is_daemon, int server_port) {
@@ -31,6 +32,9 @@ int adb_main(int is_daemon, int server_port) {

    signal(SIGPIPE, SIG_IGN);

    // We can't require authentication for sideloading. http://b/22025550.
    auth_required = false;

    init_transport_registration();
    usb_init();