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

Commit bfc351b3 authored by Ren-Pei Zeng's avatar Ren-Pei Zeng
Browse files

Unlock only once for HardwareBuffer::lock_planes()

AHardwareBuffer_unlock() unlocks all the plane addresses together. Fix
the per-plane lock guards to unlock only once by reference counting.

Bug: 371874777
Test: atest libnativewindow_rs-internal_test
Flag: EXEMPT bugfix
Change-Id: I8d4c7bce9c3913f78858cf430beb717b205cf95e
parent d0c3cf95
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