commit | 9f3064f26fd971eb7e81b78d48aae6aeee7ca143 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Apr 22 20:57:26 2020 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Apr 27 14:38:28 2020 -0700 |
tree | 5b46af71e6e2c308cb402372c2c3e0fbe8f172bb | |
parent | a786f0a8572e1a156bbd910668d611a8ddccb732 [diff] [blame] |
adbd: avoid compiling more code in the daemon. Strip out more code that has no meaning on device, to "improve" coverage. Test: test_device.py over TCP Change-Id: Id8d9fa6cc6c6c30773f67303bcc89e6d60824700
diff --git a/adb/adb.cpp b/adb/adb.cpp index dcec0ba..08986b7 100644 --- a/adb/adb.cpp +++ b/adb/adb.cpp
@@ -109,7 +109,9 @@ { D("adb: online"); t->online = 1; +#if ADB_HOST t->SetConnectionEstablished(true); +#endif } void handle_offline(atransport *t)