summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/15/changes
diff options
context:
space:
mode:
authorMiranda Kephart <mkephart@google.com>2020-06-04 15:59:35 -0400
committerMiranda Kephart <mkephart@google.com>2020-06-04 16:48:49 -0400
commit700a093b0ccabeb5c420ecdf77e1cd907bab1353 (patch)
tree68bef9bca2ba9c3dfda933b9f265a918168a1e71 /docs/html/sdk/api_diff/15/changes
parent38e3d616bc62fe5e0627f5b3878c824c4c174a16 (diff)
Only show error if screenshot process dies within timeout period
Currently, we show a "Couldn't take screenshot" error any time the screenshot process disconnects. However, if the screenshot process remains up, this can result in strange superfluous notifications, where hours later the screenshot process gets frozen/killed due to memory pressure, and we show the notification despite the user not trying to take a screenshot at that point. This change adds a check so that we only show the error notification if the screenshot process is disconnected within the timeout period (10 seconds). Bug: 156064134 Fix: 156064134 Test: manual -- killed the process with 'adb shell ps | grep screenshot' and then 'adb shell kill <pid>' to verify that the error notification appeared, then made sure it did not appear post-change. Change-Id: I2419634ad888300abc8b50aadab5888ce653e363
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions