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

Commit ced31f30 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Revert^2 "Ignore testSetPolicyLevel_Adaptive"

This reverts commit 2eff056d.

Reason for revert: failing test in b/318032060 has nothing to do with the original CL and started passing before the revert landed.

Fixes: 317737530

Change-Id: Iaaa7f442895eb139768a9a047c9b13a985a0b295
parent 2eff056d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
        testServiceDefaultValue_On(ServiceType.NULL);
    }

    @Suppress
    @Suppress // TODO: b/317823111 - Remove once test fixed.
    @SmallTest
    public void testGetBatterySaverPolicy_PolicyVibration_DefaultValueCorrect() {
        testServiceDefaultValue_On(ServiceType.VIBRATION);
@@ -202,7 +202,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
        testServiceDefaultValue_On(ServiceType.QUICK_DOZE);
    }

    @Suppress
    @Suppress // TODO: b/317823111 - Remove once test fixed.
    @SmallTest
    public void testUpdateConstants_getCorrectData() {
        mBatterySaverPolicy.updateConstantsLocked(BATTERY_SAVER_CONSTANTS, "");
@@ -302,6 +302,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
        }
    }

    @Suppress // TODO: b/317823111 - Remove once test fixed.
    public void testSetPolicyLevel_Adaptive() {
        mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_ADAPTIVE);