diff options
| author | Marin Shalamanov <shalamanov@google.com> | 2020-10-23 17:42:59 +0200 |
|---|---|---|
| committer | Marin Shalamanov <shalamanov@google.com> | 2020-10-27 13:37:40 +0100 |
| commit | ac6cc1f97ee70717dacccf28faae8d7a9196b48e (patch) | |
| tree | 13bb70d5e6d929247293575b58d276afe7778f9c /identity/support/src/cppbor_parse.cpp | |
| parent | 0a3d3f36452730098c00cba83b8431feef045dbd (diff) | |
Clean ComposerClient 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.
Bug: 160112047
Bug: 169255692
Test: 1. limit cma ion memory to 32 MB
2. flash device
3. plug hdmi out and in
4. verify that the display image is not garbled
Change-Id: Idf7cdf7a070ffc83ecec34ac24c8a7d696f68aa6
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions
