am a36f4d68: Merge "adb: bump server version to prevent feature mismatch."

* commit 'a36f4d680a02dbf2bf2166f148f4c5200ec1d8f4':
  adb: bump server version to prevent feature mismatch.
This commit is contained in:
David Pursell 2015-09-28 16:06:24 +00:00 committed by Android Git Automerger
commit edf0728e2d
2 changed files with 4 additions and 1 deletions

View file

@ -50,7 +50,7 @@ constexpr size_t MAX_PAYLOAD = MAX_PAYLOAD_V2;
std::string adb_version();
// Increment this when we want to force users to start a new adb server.
#define ADB_SERVER_VERSION 32
#define ADB_SERVER_VERSION 33
class atransport;
struct usb_handle;

View file

@ -786,6 +786,9 @@ const FeatureSet& supported_features() {
// Local static allocation to avoid global non-POD variables.
static const FeatureSet* features = new FeatureSet{
kFeatureShell2
// Increment ADB_SERVER_VERSION whenever the feature list changes to
// make sure that the adb client and server features stay in sync
// (http://b/24370690).
};
return *features;