diff options
author | Daniel Sandler <dsandler@google.com> | 2009-11-16 13:53:12 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2009-11-16 13:53:12 -0500 |
commit | ead6e21b361b09c1dfbb762503bd52a6dc6e0239 (patch) | |
tree | df433cc017207290ba6decd55044ff022a406ca4 /src/com/android/wallpaper/livepicker | |
parent | 88e7aada92f19b85cc4c334266ffe32aa37d5019 (diff) | |
download | android_packages_wallpapers_LivePicker-ead6e21b361b09c1dfbb762503bd52a6dc6e0239.tar.gz android_packages_wallpapers_LivePicker-ead6e21b361b09c1dfbb762503bd52a6dc6e0239.tar.bz2 android_packages_wallpapers_LivePicker-ead6e21b361b09c1dfbb762503bd52a6dc6e0239.zip |
Clean up live wallpaper picker list.
Author information is no longer shown (ultimately not
meaningful information). LWs can add an attribution to their
descriptions if necessary.
Note that the preferred geometry of a LW thumbnail image is
now square. (This allows for more descriptive text, and is
also easier for the author to get right.)
Bug: http://b/2261754
Diffstat (limited to 'src/com/android/wallpaper/livepicker')
-rw-r--r-- | src/com/android/wallpaper/livepicker/LiveWallpaperListActivity.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/com/android/wallpaper/livepicker/LiveWallpaperListActivity.java b/src/com/android/wallpaper/livepicker/LiveWallpaperListActivity.java index 06ca937..44abac9 100644 --- a/src/com/android/wallpaper/livepicker/LiveWallpaperListActivity.java +++ b/src/com/android/wallpaper/livepicker/LiveWallpaperListActivity.java @@ -220,13 +220,8 @@ public class LiveWallpaperListActivity extends ListActivity implements AdapterVi WallpaperInfo info = mWallpaperInfos.get(position); holder.thumbnail.setImageDrawable(mThumbnails.get(position)); - try { - CharSequence author = info.loadAuthor(mPackageManager); - holder.titleAuthor.setText(getString(R.string.wallpaper_title_and_author, - info.loadLabel(mPackageManager), author)); - } catch (Resources.NotFoundException e) { - holder.titleAuthor.setText(info.loadLabel(mPackageManager)); - } + // author not currently used + holder.titleAuthor.setText(info.loadLabel(mPackageManager)); holder.description.setText(Html.fromHtml( info.loadDescription(mPackageManager).toString())); |