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

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

SF: Fix unit tests re-registering a display

As written, these tests register a PhysicalDisplayId with a
RefreshRateSelector while setting up their TestableSchedulers, and then
later register the same PhysicalDisplayId with a different
RefreshRateSelector. While the tests pass as is, along with
Icdb80253436b4d0034fc20fcae8583efb7c30292, this causes the tests to
fail.

Update the failing tests to skip registering the PhysicalDisplayId
because it's already been registered and to use the same
RefreshRateSelector in the FakeDisplayDeviceInjector.

Bug: 241285191
Test: libsurfaceflinger_unittest
Change-Id: Ib147ce14995cc5544812aab2c788ad046124d292
parent 4d5db7ab
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