commit | 42ae2604f43ef88be748f125e8733f2c08b83fae | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Aug 12 08:32:10 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Aug 12 08:32:10 2015 -0700 |
tree | 075bc4c61793630aff3d6fcf21e376580c2951c0 | |
parent | 9508dcb9aa543511af90fd61c5f6663ff2a1c4cb [diff] [blame] |
Always include the adb version in the log. "Are you running the right version?" seems to be a common cause of debugging confusion. Change-Id: I4a4ba95e876dafc05e515058ca059ea370273f78
diff --git a/adb/adb.h b/adb/adb.h index b0e53f0..016cb11 100644 --- a/adb/adb.h +++ b/adb/adb.h
@@ -46,6 +46,8 @@ #define ADB_VERSION_MAJOR 1 #define ADB_VERSION_MINOR 0 +std::string adb_version(); + // Increment this when we want to force users to start a new adb server. #define ADB_SERVER_VERSION 32