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

Commit 1431890c authored by Jason Macnak's avatar Jason Macnak
Browse files

Only free undequeued buffers during Surface::disconnect()

... to prevent Surface from destroying dequeued buffers that have
not yet had a chance to be `ANativeWindow_cancelBuffer()`-ed. See
b/432531444#comment11 for more info.

Bug: b/432531444
Test: cvd create --gpu_mode=gfxstream
Test: atest android.uirendering.cts.testclasses.SurfaceViewTests
Flag: EXEMPT bug fix for ag/33785470
Change-Id: I11df4226da7a8fc659b291d86f0a06191a7b2977
parent 3bca564b
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