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

Commit 3ba38cca authored by Ioana Alexandru's avatar Ioana Alexandru Committed by Android (Google) Code Review
Browse files

Merge "Use bgScope for NotificationSettingsRepository" into main

parents 230a68e4 7b249f04
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ constructor(
            ?: NotificationSettingsInteractor(
                    repository =
                        NotificationSettingsRepository(
                            scope = getApplicationCoroutineScope(),
                            backgroundScope = bgScope,
                            backgroundDispatcher = bgDispatcher,
                            secureSettingsRepository = secureSettingsRepository.get(),
                            systemSettingsRepository = systemSettingsRepository.get(),
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ class NotificationsSnapshotRestorerTest {
            NotificationSettingsInteractor(
                repository =
                    NotificationSettingsRepository(
                        scope = testScope.backgroundScope,
                        backgroundScope = testScope.backgroundScope,
                        backgroundDispatcher = testDispatcher,
                        secureSettingsRepository = fakeSecureSettingsRepository,
                        systemSettingsRepository = fakeSystemSettingsRepository,
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ class NotificationSectionViewModelTest {
            NotificationSettingsInteractor(
                repository =
                    NotificationSettingsRepository(
                        scope = testScope.backgroundScope,
                        backgroundScope = testScope.backgroundScope,
                        backgroundDispatcher = testDispatcher,
                        secureSettingsRepository = FakeSecureSettingsRepository(),
                        systemSettingsRepository = FakeSystemSettingsRepository(),