Loading core/java/android/app/WallpaperInfo.java +6 −1 Original line number Diff line number Diff line Loading @@ -312,7 +312,12 @@ public final class WallpaperInfo implements Parcelable { } /** * Queries whether any metadata should be shown when previewing the wallpaper. * Queries whether any metadata should be shown when previewing the wallpaper. If this value is * set to true, any component that shows a preview of this live wallpaper should also show * accompanying information like {@link #loadLabel}, * {@link #loadDescription}, {@link #loadAuthor} and * {@link #loadContextDescription(PackageManager)}, so the user gets to know further information * about this wallpaper. * * @return Whether any metadata should be shown when previewing the wallpaper. */ Loading core/res/res/values/attrs.xml +5 −1 Original line number Diff line number Diff line Loading @@ -7353,7 +7353,11 @@ i <!-- Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection. --> <attr name="contextDescription" format="reference" /> <!-- Whether to show any metadata when previewing the wallpaper. --> <!-- Whether to show any metadata when previewing the wallpaper. If this value is set to true, any component that shows a preview of this live wallpaper should also show accompanying information like the title, the description, the author and the context description of this wallpaper so the user gets to know further information about this wallpaper. --> <attr name="showMetadataInPreview" format="boolean" /> </declare-styleable> Loading Loading
core/java/android/app/WallpaperInfo.java +6 −1 Original line number Diff line number Diff line Loading @@ -312,7 +312,12 @@ public final class WallpaperInfo implements Parcelable { } /** * Queries whether any metadata should be shown when previewing the wallpaper. * Queries whether any metadata should be shown when previewing the wallpaper. If this value is * set to true, any component that shows a preview of this live wallpaper should also show * accompanying information like {@link #loadLabel}, * {@link #loadDescription}, {@link #loadAuthor} and * {@link #loadContextDescription(PackageManager)}, so the user gets to know further information * about this wallpaper. * * @return Whether any metadata should be shown when previewing the wallpaper. */ Loading
core/res/res/values/attrs.xml +5 −1 Original line number Diff line number Diff line Loading @@ -7353,7 +7353,11 @@ i <!-- Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection. --> <attr name="contextDescription" format="reference" /> <!-- Whether to show any metadata when previewing the wallpaper. --> <!-- Whether to show any metadata when previewing the wallpaper. If this value is set to true, any component that shows a preview of this live wallpaper should also show accompanying information like the title, the description, the author and the context description of this wallpaper so the user gets to know further information about this wallpaper. --> <attr name="showMetadataInPreview" format="boolean" /> </declare-styleable> Loading