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

Commit 9e6a54db authored by Will Leshner's avatar Will Leshner
Browse files

Fix CommunalSettingsRepository test.

Fix a test that fails when the
allow_all_widgets_on_lockscreen_by_default flag is set to true.

Bug: 328261690
Test: atest CommunalSettingsRepositoryImplTest
Flag: com.android.settingslib.flags.allow_all_widgets_on_lockscreen_by_default
Change-Id: I83f77e2f19495aeba8b6188b8016117b9f571e22
parent a9351958
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -195,6 +195,7 @@ class CommunalSettingsRepositoryImplTest : SysuiTestCase() {
        }

    @EnableFlags(FLAG_COMMUNAL_HUB)
    @DisableFlags(FLAG_ALLOW_ALL_WIDGETS_ON_LOCKSCREEN_BY_DEFAULT)
    @Test
    fun hubShowsKeyguardWidgetsByDefault() =
        testScope.runTest {