summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-06-26 19:57:16 -0600
committerJeff Sharkey <jsharkey@android.com>2017-06-26 19:57:19 -0600
commit9d64095841333fa44998035d6b43283900fb4c00 (patch)
tree74e3599673bf20c118cb5ac165c23b5db667fa13 /tools/aapt2/java/JavaClassGenerator.cpp
parentf23a5e104bae3274c43fc2ceb62562200ac722ae (diff)
Assume virtual devices always have USB connection.
We use the presence of an active USB data connection to suppress the RescueParty logic. For example, all physical devices in a test lab return "true" here to avoid interfering with test results. Since virtual devices are pretty much only used in test labs, return true for them too. Bug: 37347800 Test: builds, boots Change-Id: Ie79ce57ce67fb78234c1001a593918253a85254d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions