Add support for custom action button for url

Allow the wallpaper info to provide a custom label and icon for
the "explore" button if available. The default is kept as the
compas and "Explore" label, but the API now allows to provide,
store and retrieve a custom resource for label and icon.

Bug: 77695473
Change-Id: I3a0f4c8bca46fc5e9c113f1b68fa3b794b9294a4
diff --git a/src/com/android/wallpaper/module/WallpaperPreferences.java b/src/com/android/wallpaper/module/WallpaperPreferences.java
index 3b77760..2427f23 100755
--- a/src/com/android/wallpaper/module/WallpaperPreferences.java
+++ b/src/com/android/wallpaper/module/WallpaperPreferences.java
@@ -67,6 +67,26 @@
     void setHomeWallpaperActionUrl(String actionUrl);
 
     /**
+     * Returns the resource id for the home wallpaper's action label.
+     */
+    int getHomeWallpaperActionLabelRes();
+
+    /**
+     * Sets the resource id for the home wallpaper's action label.
+     */
+    void setHomeWallpaperActionLabelRes(int resId);
+
+    /**
+     * Returns the resource id for the home wallpaper's action icon.
+     */
+    int getHomeWallpaperActionIconRes();
+
+    /**
+     * Sets the resource id for the home wallpaper's action icon.
+     */
+    void setHomeWallpaperActionIconRes(int resId);
+
+    /**
      * Returns the home wallpaper's base image URL or if there is none.
      */
     String getHomeWallpaperBaseImageUrl();
@@ -146,6 +166,26 @@
     void setLockWallpaperActionUrl(String actionUrl);
 
     /**
+     * Returns the resource id for the lock wallpaper's action label.
+     */
+    int getLockWallpaperActionLabelRes();
+
+    /**
+     * Sets the resource id for the lock wallpaper's action label.
+     */
+    void setLockWallpaperActionLabelRes(int resId);
+
+    /**
+     * Returns the resource id for the lock wallpaper's action icon.
+     */
+    int getLockWallpaperActionIconRes();
+
+    /**
+     * Sets the resource id for the lock wallpaper's action icon.
+     */
+    void setLockWallpaperActionIconRes(int resId);
+
+    /**
      * Returns the lock wallpaper's collection ID or null if there is none.
      */
     String getLockWallpaperCollectionId();