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

Commit 5e52d56b authored by Chris Poultney's avatar Chris Poultney
Browse files

Make WallpaperRefresher injectable

Bug: 347235611
Flag: EXEMPT refactor
Test: manually verified that picker builds and works
Change-Id: Iae179f9367b3aad4ec0b25ac1e0ec8e0410046d5
parent cb8cdb43
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ import com.android.wallpaper.module.PackageStatusNotifier
import com.android.wallpaper.module.PartnerProvider
import com.android.wallpaper.module.WallpaperPicker2Injector
import com.android.wallpaper.module.WallpaperPreferences
import com.android.wallpaper.module.WallpaperRefresher
import com.android.wallpaper.module.logging.UserEventLogger
import com.android.wallpaper.network.Requester
import com.android.wallpaper.picker.CustomizationPickerActivity
@@ -120,6 +121,7 @@ constructor(
    wallpaperColorsRepository: Lazy<WallpaperColorsRepository>,
    defaultWallpaperCategoryWrapper: Lazy<WallpaperCategoryWrapper>,
    packageNotifier: Lazy<PackageStatusNotifier>,
    wallpaperRefresher: Lazy<WallpaperRefresher>,
) :
    WallpaperPicker2Injector(
        mainScope,
@@ -135,6 +137,7 @@ constructor(
        wallpaperColorsRepository,
        defaultWallpaperCategoryWrapper,
        packageNotifier,
        wallpaperRefresher,
    ),
    CustomizationInjector {
    private var customizationSections: CustomizationSections? = null