Use WallpaperPicker2Lib

Replace wallpaper-common-deps, WallpaperPicker2_srcs and
WallpaperPicker2_res with WallpaperPicker2Lib.

Bug: 319160342
Test: builds
Test: atest --host ThemePickerRoboTests
Flag: NA
Change-Id: I9da546ec53c3160c40088904f5385520dc2eb992
diff --git a/Android.bp b/Android.bp
index d3a7c51..e6c07a8 100644
--- a/Android.bp
+++ b/Android.bp
@@ -80,8 +80,8 @@
     static_libs: [
         "guava",
         "monet",
-	    "renderscript_toolkit",
-        "wallpaper-common-deps",
+        "renderscript_toolkit",
+        "WallpaperPicker2Lib",
         "SettingsLibSettingsTheme",
         "SystemUI-statsd",
         "styleprotoslite",
@@ -98,7 +98,6 @@
     ],
 
     srcs: [
-        ":WallpaperPicker2_srcs",
         ":ThemePicker_srcs",
     ],
 
@@ -106,7 +105,7 @@
 
     use_embedded_native_libs: true,
 
-    resource_zips: [":WallpaperPicker2_res", ":ThemePicker_res", ":ThemePicker_res_overrides"],
+    resource_zips: [":ThemePicker_res", ":ThemePicker_res_overrides"],
 
     optimize: {
         enabled: false,
diff --git a/src/com/android/customization/picker/color/ui/binder/ColorSectionViewBinder.kt b/src/com/android/customization/picker/color/ui/binder/ColorSectionViewBinder.kt
index ad81614..df99316 100644
--- a/src/com/android/customization/picker/color/ui/binder/ColorSectionViewBinder.kt
+++ b/src/com/android/customization/picker/color/ui/binder/ColorSectionViewBinder.kt
@@ -99,11 +99,7 @@
                 LayoutInflater.from(view.context)
                     .inflate(R.layout.color_option_no_background, view, false)
             item.payload?.let {
-                ColorOptionIconBinder.bind(
-                    itemView.requireViewById(R.id.option_tile),
-                    item.payload,
-                    night
-                )
+                ColorOptionIconBinder.bind(itemView.requireViewById(R.id.option_tile), it, night)
                 ContentDescriptionViewBinder.bind(
                     view = itemView.requireViewById(R.id.option_tile),
                     viewModel = item.text,