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

Commit f2d8a821 authored by Melody Hsu's avatar Melody Hsu
Browse files

Stabilize libgui RegionSamplingTests

libgui RegionSamplingTests fail on physical devices due to
incorrect sampled luma values. The incorrect region was
being sampled due to other active listeners that were not
cleared. Modify test API to get all existing active listeners,
cache them and clear the list to create a blank test slate, and
re-add the cached listeners to restore state after a test is done.

Bug: b/365708032
Test: atest RegionSamplingTest in libgui_test, libgui_test
Flag: EXEMPT, test fix
Change-Id: I70eb3bae070174b7db87ee16d8343bbc1e81bad0
parent 35f9fab0
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