Created
December 8, 2017 16:30
-
-
Save phhusson/0bffea69eee493ea54de3a753b058c54 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/adb/daemon/main.cpp b/adb/daemon/main.cpp | |
index c0504c5..6e9ea71 100644 | |
--- a/adb/daemon/main.cpp | |
+++ b/adb/daemon/main.cpp | |
@@ -162,10 +162,10 @@ int adbd_main(int server_port) { | |
// Respect ro.adb.secure in userdebug/eng builds (ALLOW_ADBD_NO_AUTH), or when the | |
// device is unlocked. | |
- if ((ALLOW_ADBD_NO_AUTH || is_device_unlocked()) && | |
- !android::base::GetBoolProperty("ro.adb.secure", false)) { | |
+ //if ((ALLOW_ADBD_NO_AUTH || is_device_unlocked()) && | |
+ // !android::base::GetBoolProperty("ro.adb.secure", false)) { | |
auth_required = false; | |
- } | |
+ //} | |
adbd_auth_init(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment