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

Skip to content
Commit 959a7ff7 authored by Leon Scroggins III's avatar Leon Scroggins III
Browse files

Make onVsync return a display id

The caller of this method then turns around and asks HWComposer for the
display id, so we might as well return the id in the first place. Use an
optional so it can return the equivalent of false in the old version.

Use ftl::Concat to save memory allocations.

Factored out from If60218e85292c786b9fa70ecb33ee374d3a385e0 after it was
reverted.

Bug: 255601557
Bug: 256196556
Test: atest libsurfaceflinger_unittest:HWComposerTest
Change-Id: I21be76e20776d8a3f49e5bd295a0042de9e2dde9
parent db16a2be
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