summaryrefslogtreecommitdiffstats
path: root/adb/adb.h
diff options
context:
space:
mode:
authorBenoit Goby <benoit@android.com>2013-01-15 12:36:47 -0800
committerBenoit Goby <benoit@android.com>2013-01-15 17:21:13 -0800
commit77e8e5851d3b951b5382663bd50f1f83cb531eb2 (patch)
treebf54c0b6288faa3c723031469d81d2c9958bfee7 /adb/adb.h
parent345cb066d2e0c774c877a85d3035f298df1daf16 (diff)
downloadsystem_core-77e8e5851d3b951b5382663bd50f1f83cb531eb2.zip
system_core-77e8e5851d3b951b5382663bd50f1f83cb531eb2.tar.gz
system_core-77e8e5851d3b951b5382663bd50f1f83cb531eb2.tar.bz2
adb: Add "unauthorized" connection state
Add a new connection state, so that devices, that require confirmation to allow adb, appear as "unauthorized" in the adb devices lists. Change-Id: Ib4264bc5736dedecf05bcf8e31896f4d7a91fad8
Diffstat (limited to 'adb/adb.h')
-rw-r--r--adb/adb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/adb/adb.h b/adb/adb.h
index 9da8af8..a01d460 100644
--- a/adb/adb.h
+++ b/adb/adb.h
@@ -468,6 +468,7 @@ int connection_state(atransport *t);
#define CS_RECOVERY 4
#define CS_NOPERM 5 /* Insufficient permissions to communicate with the device */
#define CS_SIDELOAD 6
+#define CS_UNAUTHORIZED 7
extern int HOST;
extern int SHELL_EXIT_NOTIFY_FD;