aboutsummaryrefslogtreecommitdiffstats
path: root/adb/adb.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2012-01-09 14:54:53 -0800
committerDoug Zongker <dougz@android.com>2012-01-10 10:09:07 -0800
commit447f061da19fe46bae35f1cdd93eeb16bc225463 (patch)
tree1a496b743393faa1be65b17fd676756b50be7b48 /adb/adb.h
parent36afde3387fff9eac0e6d54854b8d43fe1ebb0cc (diff)
downloadsystem_core-447f061da19fe46bae35f1cdd93eeb16bc225463.tar.gz
system_core-447f061da19fe46bae35f1cdd93eeb16bc225463.tar.bz2
system_core-447f061da19fe46bae35f1cdd93eeb16bc225463.zip
add "adb sideload" and sideload connection state
Recovery will soon support a minimal implementation of adbd which will do nothing but accept downloads from the "adb sideload" command and install them. This is the client side command (mostly resurrected out of the old circa-2007 "adb recover" command) and the new connection state. Change-Id: I4f67b63f1b3b38d28c285d1278d46782679762a2
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 ac31f11c..f7667c22 100644
--- a/adb/adb.h
+++ b/adb/adb.h
@@ -434,6 +434,7 @@ int connection_state(atransport *t);
#define CS_HOST 3
#define CS_RECOVERY 4
#define CS_NOPERM 5 /* Insufficient permissions to communicate with the device */
+#define CS_SIDELOAD 6
extern int HOST;
extern int SHELL_EXIT_NOTIFY_FD;