summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2017-05-11 12:42:58 -0700
committerJerry Zhang <zhangjerry@google.com>2017-05-11 13:50:28 -0700
commitad962a923c0b8ec555d3474b394bc3bed0f3613d (patch)
tree2e8f7b6eb111bf3246bdc368e8c809d7649ed793 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parenta7af3852081a883ab9323407db47902edcf704b0 (diff)
Only force reset when adb is not enabled (i.e. mtp is)
Some users depended on adbd continuing to run after disconnect in order to use scripts with nohup. This change allows this use case to keep working since only mtp has to be force set. Bug: 38227228 Test: adb shell "nohup sh /sdcard/script" where script contains "sleep 5; touch /sdcard/done" and verified file still appears even if disconnected during sleep. Test: am force-stop com.android.providers.media, still connects Change-Id: I25ae2b922fa4d06109ac8cf5e43e1c47a33c46a6
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions