From d136ba16647282ce654b020f461788d5196a1eb7 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Thu, 23 Jun 2016 16:25:52 -0700 Subject: [PATCH] Fix WallpaperInfo API review Change-Id: I395b9617038450e6fa7a2f25bb55d6ae5f761015 Fixes: 29514598 --- core/java/android/app/WallpaperInfo.java | 7 ++++++- core/res/res/values/attrs.xml | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/WallpaperInfo.java b/core/java/android/app/WallpaperInfo.java index 84a16cf3e96a1..9d40381fcefd2 100644 --- a/core/java/android/app/WallpaperInfo.java +++ b/core/java/android/app/WallpaperInfo.java @@ -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. */ diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 13e1d00458b2d..2f8fc71958163 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -7350,7 +7350,11 @@ i - +