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

Commit 72757153 authored by Chris Poultney's avatar Chris Poultney
Browse files

Cleans up shared vs. per-repository prod and test modules

Bug: 331594637
Flag: NA
Test: manually checked that all three apps run
Change-Id: I5d58eb37904e64a435995d3df75d13c0ae0ecd96
parent 70e0847c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@ import com.android.customization.module.logging.ThemesUserEventLoggerImpl
import com.android.wallpaper.module.logging.UserEventLogger
import com.android.wallpaper.picker.preview.data.util.DefaultLiveWallpaperDownloader
import com.android.wallpaper.picker.preview.data.util.LiveWallpaperDownloader
import com.android.wallpaper.system.UiModeManagerImpl
import com.android.wallpaper.system.UiModeManagerWrapper
import com.android.wallpaper.util.converter.DefaultWallpaperModelFactory
import com.android.wallpaper.util.converter.WallpaperModelFactory
import dagger.Binds
@@ -63,8 +61,6 @@ abstract class AppModule {
        impl: DefaultLiveWallpaperDownloader
    ): LiveWallpaperDownloader

    @Binds @Singleton abstract fun bindUiModeManager(impl: UiModeManagerImpl): UiModeManagerWrapper

    companion object {
        @Provides
        @Singleton
+0 −4
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@ import com.android.wallpaper.module.logging.TestUserEventLogger
import com.android.wallpaper.module.logging.UserEventLogger
import com.android.wallpaper.picker.preview.data.util.DefaultLiveWallpaperDownloader
import com.android.wallpaper.picker.preview.data.util.LiveWallpaperDownloader
import com.android.wallpaper.system.UiModeManagerWrapper
import com.android.wallpaper.testing.FakeUiModeManager
import com.android.wallpaper.testing.TestInjector
import com.android.wallpaper.testing.TestWallpaperPreferences
import com.android.wallpaper.util.converter.DefaultWallpaperModelFactory
@@ -80,8 +78,6 @@ abstract class TestModule {
        impl: DefaultLiveWallpaperDownloader
    ): LiveWallpaperDownloader

    @Binds @Singleton abstract fun bindUiModeManager(impl: FakeUiModeManager): UiModeManagerWrapper

    companion object {
        @Provides
        @Singleton