diff options
author | Miranda Kephart <mkephart@google.com> | 2020-04-24 15:23:58 -0400 |
---|---|---|
committer | Miranda Kephart <mkephart@google.com> | 2020-04-24 15:43:02 -0400 |
commit | a4c79758fb53a6d25368c9fe706c666a7d6f5db3 (patch) | |
tree | 7d34586d44d56e0a93d46c42f6cdbb1924472d54 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 3b145e0b19f82ecf3f31b7702f8915308002bafe (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions