diff options
author | Marin Shalamanov <shalamanov@google.com> | 2021-03-12 19:19:55 +0100 |
---|---|---|
committer | Marin Shalamanov <shalamanov@google.com> | 2021-03-15 17:12:01 +0100 |
commit | 944b68180b008456ed2eb4d4d329e33b19bd5166 (patch) | |
tree | fd8148a938510e946c0faf4844de383b1a6354a7 /identity/support/src/cppbor_parse.cpp | |
parent | 1bcf9dd393590a4702eb0d58eec563be65c7a239 (diff) |
ComposerClient 2.4: Clean cache on hotplug
On subsequent hotplug connected event for a display
SurfaceFlinger destroys the previous framebuffers and
recreates them. When the new buffers are created
ComposerClient still holds a handle to the old buffers and
they are not destroyed. This way the new framebuffers
may get allocated on non continuous memory causing garbled
screens for the user.
This is already implemented for ComposerClient 2.1-2.3. In
this CL only the behavior for ComposerClient 2.4 is changed.
Test: manually flash a device
Bug: 178785393
Change-Id: I6aa1243d61676c0a3d42cb7aecf19e6f8802cb1a
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions