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

Skip to content
Commit 26297cac authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Cleanup Bitmap and buffer after setting up leash

- Recycle the Bitmap being used to draw the icon overlay for PiP right
  after setting the leash. This avoids Bitmap being leaked, eg. not
  recycled.
- Close also the hardware buffer to remove the reference to underlying
  buffer at the same time.

Flag: EXEMPT bugfix
Bug: 393584443
Test: manually, make sure the Bitmap is recycled and \
      no function regression
Change-Id: I46ec091432b235cb63ad7d40d73b39f3c1889470
parent 779e4c97
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