summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2025-01-31 16:49:06 -0800
committer Hongwei Wang <hwwang@google.com> 2025-01-31 20:27:56 -0800
commit26297cac65365a827939113632f619364fa9d3b6 (patch)
treef291bf3cd0d335e3737d7f21e32298fce8050408 /libs/androidfw/ConfigDescription.cpp
parent779e4c97c0b80f685729b0443d4d023a590b5548 (diff)
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
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions