diff options
author | Tom Marshall <tdm@cyngn.com> | 2014-11-26 13:48:46 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-17 17:47:21 -0700 |
commit | 607422153bdcde6ac99ffc3458cc5148900328a8 (patch) | |
tree | 9b2359dc8be986ca28cfb2ae4b98ecce7a319c7b /adb/adb.h | |
parent | 5eda792697e07cb541d1f4a960fb37a160048572 (diff) | |
download | system_core-607422153bdcde6ac99ffc3458cc5148900328a8.zip system_core-607422153bdcde6ac99ffc3458cc5148900328a8.tar.gz system_core-607422153bdcde6ac99ffc3458cc5148900328a8.tar.bz2 |
adb: Look for bu in /sbin when in recovery mode
* Restore global variable recovery_mode. This is set based on the
commandline parameter --banner.
* Use recovery_mode to select path to 'bu' binary for both backup and
restore services.
Change-Id: Ie4c945d00601514d7f16357bae10ff7f232633e1
Diffstat (limited to 'adb/adb.h')
-rw-r--r-- | adb/adb.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -339,6 +339,8 @@ int adb_commandline(int argc, const char **argv); int connection_state(atransport *t); +extern int recovery_mode; + #define CS_ANY -1 #define CS_OFFLINE 0 #define CS_BOOTLOADER 1 |