Skip to content
Commit a4c79758 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Keep screenshot process bound

Currently, the screenshot process only remains bound to SysUI
(by ScreenshotHelper) until the screenshot finishes saving. This
makes it vulnerable to getting cached and frozen. Since the process
now includes UI with touch focus for longer than that, this can
cause ANRs in the screenshot process, if it is frozen while it's
supposed to be accepting touch input.

Retaining the binding for the entire lifecycle of the screenshot
UI fixes this problem.

Test: manual -- used the steps in b/153577093 to verify the
freezing behavior and verified that it no longer occurred after
the change
Bug: 153418099
Fix: 153418099

Change-Id: Idca24a69274af3d633e1243b46b602613cb04d50
parent 3b145e0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment