summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author felkachang <felkachang@google.com> 2023-01-12 16:13:19 +0800
committer felkachang <felkachang@google.com> 2023-01-13 00:18:52 +0800
commit4f6d3cb5199ab28d6284f62f3365344a5771f43b (patch)
treedbc9d4aec77f2a48fe0e1ae28fb611774ade29e2 /services/coverage/java
parent613dc2608856a1115009a562b1d1a174c01cca88 (diff)
Fix adb dumpsys resource hang
The process creates a pipe and dup the output file descriptor passed to app processes. The dup output file descriptor is not closed after all apps have finished dumping tasks. But, the console is blocked for reading from the input file descriptor. That's why `adb shell cmd resources dump com.android.systemui` hangs in very high frequency. This patch makes sure the dup output file descriptor is closed after all apps processes have finished dumping tasks. Fixes: 265228474 Bug: 243579631 Test: adb shell dumpsys -t 20 resources Change-Id: I0c9d5556a03053256c9d4ed99858018627630075
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions