diff options
author | George Lin <giolin@google.com> | 2023-11-03 18:49:49 +0000 |
---|---|---|
committer | George Lin <giolin@google.com> | 2023-11-03 19:47:20 +0000 |
commit | 7930bff873622140a367b824ed4d32e0b571ec13 (patch) | |
tree | 0d90c56ee82d69c0645bebb4580e6b1d9bcba062 /src/com | |
parent | 63ca378cf0588393b2a1c661a5c24237bcb0c640 (diff) | |
download | ThemePicker-7930bff873622140a367b824ed4d32e0b571ec13.tar.gz |
setStaticWallpaper in WallpaperClient (3/3)
Implementation of setStaticWallpaper
Test: DefaultGoogleWallpaperPreferencesTest
Bug: 303315365
Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT
Change-Id: Ide774fec7d3c26c7941863fda18155125c3675e0
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/customization/module/ThemePickerInjector.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/customization/module/ThemePickerInjector.kt b/src/com/android/customization/module/ThemePickerInjector.kt index 4b2c899c..819f906f 100644 --- a/src/com/android/customization/module/ThemePickerInjector.kt +++ b/src/com/android/customization/module/ThemePickerInjector.kt @@ -207,7 +207,8 @@ internal constructor( WallpaperClientImpl( context = appContext, infoFactory = getCurrentWallpaperInfoFactory(appContext), - wallpaperManager = WallpaperManager.getInstance(appContext) + wallpaperManager = WallpaperManager.getInstance(appContext), + wallpaperPreferences = getPreferences(appContext) ), wallpaperPreferences = getPreferences(context = appContext), backgroundDispatcher = bgDispatcher, |