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

Commit 3874c11b authored by Kyle Zhang's avatar Kyle Zhang Committed by Gerrit Code Review
Browse files

Merge "Fix force L3 preference unit test" into main

parents 51769c2e 3d84ccf8
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -69,7 +69,11 @@ public class ForceSwSecureCryptoFallbackPreferenceControllerTest {
    @Test
    @EnableFlags(Flags.FLAG_FORCE_L3_ENABLED)
    public void updateState_flagEnabled_checkPreference() {
        try (MediaDrm drm = new MediaDrm(WIDEVINE_UUID)) {
            mController.updateState(mPreference);
        } catch (UnsupportedSchemeException ex) {
            assumeNoException(ex);
        }
        assertThat(mPreference.isEnabled()).isTrue();
        assertThat(mPreference.isChecked()).isFalse();
        assertThat(WidevineProperties.forcel3_enabled().orElse(false)).isFalse();