aboutsummaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-08-05 10:16:21 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-05 10:16:21 -0700
commit9ff99f653632504b98c17fc76eac3383df5b5d1e (patch)
tree446de806379b82a3ecbe3c8419890e4cdd1a81f7 /adb
parent655835be2a0e6d656040f4dd8f7e3e1035734ef7 (diff)
parentff9d3484e6c8f2f7e7e25581cb4dc86e0884d8a7 (diff)
downloadsystem_core-9ff99f653632504b98c17fc76eac3383df5b5d1e.tar.gz
system_core-9ff99f653632504b98c17fc76eac3383df5b5d1e.tar.bz2
system_core-9ff99f653632504b98c17fc76eac3383df5b5d1e.zip
Merge "Default to secure mode"
Diffstat (limited to 'adb')
-rw-r--r--adb/adb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/adb.c b/adb/adb.c
index 4207365a..a91004c3 100644
--- a/adb/adb.c
+++ b/adb/adb.c
@@ -871,7 +871,7 @@ int adb_main(int is_daemon, int server_port)
*/
property_get("ro.kernel.qemu", value, "");
if (strcmp(value, "1") != 0) {
- property_get("ro.secure", value, "");
+ property_get("ro.secure", value, "1");
if (strcmp(value, "1") == 0) {
// don't run as root if ro.secure is set...
secure = 1;