Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d16bd47d authored by Juliana Chang's avatar Juliana Chang
Browse files

SF: Fully release RefreshRateOverlay buffers on disable

Add a RefreshRateOverlay destructor to ensure that all GraphicBuffers used by the overlay are properly released when the overlay is disabled.

Bug: 365444202
Test: Enabled and disabled RefreshRateOverlay multiple times, verified no memory leaks in logcat (adb shell dumpsys SurfaceFlinger | grep RefreshRateOverlayBuffer).
Flag: EXEMPT bug fix
Change-Id: I7145107dbb86960c6ff7095487497d334388293e
parent 8797b9be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment