summaryrefslogtreecommitdiff
path: root/transport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'transport.cpp')
-rw-r--r--transport.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/transport.cpp b/transport.cpp
index 132702d..7b82b19 100644
--- a/transport.cpp
+++ b/transport.cpp
@@ -49,6 +49,7 @@ static std::mutex& transport_lock = *new std::mutex();
const char* const kFeatureShell2 = "shell_v2";
const char* const kFeatureCmd = "cmd";
+const char* const kFeatureStat2 = "stat_v2";
static std::string dump_packet(const char* name, const char* func, apacket* p) {
unsigned command = p->msg.command;
@@ -771,7 +772,8 @@ const FeatureSet& supported_features() {
// Local static allocation to avoid global non-POD variables.
static const FeatureSet* features = new FeatureSet{
kFeatureShell2,
- kFeatureCmd
+ kFeatureCmd,
+ kFeatureStat2,
// 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).