summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/OpenGLPipeline.cpp
diff options
context:
space:
mode:
authorAbodunrinwa Toki <toki@google.com>2016-07-21 11:10:19 +0100
committerAbodunrinwa Toki <toki@google.com>2016-09-29 10:53:21 +0100
commitd1eb19c65e89a67cfc63ed5496825b79a3bfe1ed (patch)
treec937984ead41e9f0b4ba481674bb80f67782b844 /libs/hwui/renderthread/OpenGLPipeline.cpp
parentc20cb8c1c8832240b69128f227dfbb142130d962 (diff)
FloatingActionMode: Avoid calling delayed code if view is inactive.
If something's gone wrong with the floating toolbar's host view while there is logic posted in a runnable, avoid running that code. These runnable callbacks are currently removed when the action mode is finished but the issue we're running into is something else. Seems like the app doesn't get a chance to call finish when something went wrong with the view or host activity. Anyway, defend against this case. Test: Not able to reproduce the issue. This code is a defensive fix to prevent reported crashes in GSA. Will keep if the crashes no longer happen or revert if they continue to happen. Bug: 29951043 Change-Id: I0e7833b8d8a63bf6205b7035b477bd8a3a7968b2
Diffstat (limited to 'libs/hwui/renderthread/OpenGLPipeline.cpp')
0 files changed, 0 insertions, 0 deletions