summaryrefslogtreecommitdiff
path: root/libs/utils/BasicHashtable.cpp
diff options
context:
space:
mode:
author Andy McFadden <fadden@android.com> 2012-10-02 19:04:45 -0700
committer Mathias Agopian <mathias@google.com> 2012-10-04 02:02:23 -0700
commit27ec5739bc05330e08b02f25b62a8f597bad897a (patch)
tree50e484067f099f8803beb531655ed4479cdcaba1 /libs/utils/BasicHashtable.cpp
parenta573945df7d21cfb73aa9cdba41561105e2ffb01 (diff)
Fix crashes after HDMI disconnect
The display was being removed from SurfaceFlinger's list before we had a chance to reset HWComposer's layer list, so we were passing stale data into the hardware composer (which has its own per-display data). This resulted in "invalid gralloc handle" complaints. We now clear the layer list immediately after removing the display. The display was being removed while its EGLSurface was still "current", resulting in "cancelBuffer: BufferQueue has been abandoned" complaints. We now call makeCurrent on the primary display before removing the external display. Bug 7274254 Change-Id: Ia59e3a61d7ec46488b96bf93ec5e4ed3488b70e4
Diffstat (limited to 'libs/utils/BasicHashtable.cpp')
0 files changed, 0 insertions, 0 deletions