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

Commit b6abe55a authored by Santiago Etchebehere's avatar Santiago Etchebehere
Browse files

Fallback to CurrentWallpaperInfoFactory if recents is not available

Bug: 284002526
Test: manually flashed on go device and tested the wallpaper flow
Change-Id: I36ee8444ead4f2f546bd839f129a987cd8a1323e
parent a44ec979
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -235,7 +235,12 @@ open class ThemePickerInjector : WallpaperPicker2Injector(), CustomizationInject
                    repository =
                        WallpaperRepository(
                            scope = getApplicationCoroutineScope(),
                            client = WallpaperClientImpl(context = context),
                            client =
                                WallpaperClientImpl(
                                    context = context,
                                    infoFactory = getCurrentWallpaperInfoFactory(context),
                                    wallpaperManager = WallpaperManager.getInstance(context)
                                ),
                            wallpaperPreferences = getPreferences(context = context),
                            backgroundDispatcher = Dispatchers.IO,
                        ),