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

Commit a36e4349 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update BrightnessInfo construction in tests"

parents 24ab1721 76c18bae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ public class BrightnessLevelPreferenceControllerTest {

        when(mDisplay.getBrightnessInfo()).thenReturn(
                new BrightnessInfo(0.1f, 0.0f, 1.0f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF,
                    0.5f));
                    0.5f, BrightnessInfo.BRIGHTNESS_MAX_REASON_NONE));

        mController.updateState(mPreference);

@@ -168,7 +168,7 @@ public class BrightnessLevelPreferenceControllerTest {

        when(mDisplay.getBrightnessInfo()).thenReturn(
                new BrightnessInfo(0.5f, 0.0f, 1.0f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF,
                    0.5f));
                    0.5f, BrightnessInfo.BRIGHTNESS_MAX_REASON_NONE));

        mController.updateState(mPreference);