summaryrefslogtreecommitdiff
path: root/libs/permission/AppOpsManager.cpp
diff options
context:
space:
mode:
author Leon Scroggins III <scroggo@google.com> 2023-02-22 10:40:20 -0500
committer Leon Scroggins III <scroggo@google.com> 2023-02-22 13:28:57 -0500
commitba9323add21cd3dbfa91b91728b88f6de0c06e47 (patch)
tree41bd14219c0b9755b70e116440606c64144520b6 /libs/permission/AppOpsManager.cpp
parent4d5db7ab45ca1afeed30fbccd51d568e861ff2eb (diff)
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
Diffstat (limited to 'libs/permission/AppOpsManager.cpp')
0 files changed, 0 insertions, 0 deletions