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

Skip to content
Commit 36549f2f authored by Michael Wright's avatar Michael Wright
Browse files

Use testable components to cleanup display tests a bit.

Second attempt. TestableSettingsProvider currently doesn't understand
the special UserHandle values, so we need to use the same user value in
the test as we do in the code under test. If we don't, it will read
through to the real settings value, making the tests unnecessarily
depend on external state.

Fixes: 274430330
Test: atest DisplayPowerControllerTest DisplayPowerController2Test
Change-Id: Id4568924aa67a3be6e0c0169a168b9241e1e510c
parent 85265850
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