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

Commit 877f2a6d authored by Chun-Ku Lin's avatar Chun-Ku Lin
Browse files

Use Fake context and settings provider to prevent test flakiness

**Root cause**
The ReduceBrightColorsIntensityPreferenceControllerTest would modify the
settings during test. However, since this is a unit test, it shouldn't
trigger modifying the brightness on the attached test device. Otherwise,
the test would be unstable depends on how stable the device is, which
should be tested by the integration test.

Bug: 397762527
Test: abtd
Flag: EXEMPT test only
Change-Id: I0c0d7327d4356482295121c11c3a1e5ed814ffec
parent 01d93822
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