Suppression of socket connect from minadbd (CL 2/2)
Bug: 201308542
Test: TBD
Ignore-AOSP-First: Security fix.
Signed-off-by: Shaju Mathew <shaju@google.com>
Change-Id: I3418eddbe02eadd5fabf6a930c73edbdb98195f1
diff --git a/minadbd/minadbd.cpp b/minadbd/minadbd.cpp
index 7b82faa..1df342c 100644
--- a/minadbd/minadbd.cpp
+++ b/minadbd/minadbd.cpp
@@ -64,6 +64,7 @@
// We can't require authentication for sideloading. http://b/22025550.
auth_required = false;
+ socket_access_allowed = false;
init_transport_registration();
usb_init();