summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeon Hong <leonhong@google.com>2011-11-18 14:37:50 -0800
committerLeon Hong <leonhong@google.com>2011-11-18 14:37:50 -0800
commit41b1f8f45b56878c9aa4a4044127acc761c277c0 (patch)
treeb70f93a48e4ebf46814f4e54520cf335f70a6d4b /src
parentba1eb80306f21f285313a0abdaa9e8f87fa265c0 (diff)
downloadandroid_packages_wallpapers_LivePicker-41b1f8f45b56878c9aa4a4044127acc761c277c0.zip
android_packages_wallpapers_LivePicker-41b1f8f45b56878c9aa4a4044127acc761c277c0.tar.gz
android_packages_wallpapers_LivePicker-41b1f8f45b56878c9aa4a4044127acc761c277c0.tar.bz2
Removing Live Wallpaper Description - Bug 5462731
Change-Id: If8d4ed443590576ffd203054f1f5b7ee26adb7cf
Diffstat (limited to 'src')
-rw-r--r--src/com/android/wallpaper/livepicker/LiveWallpaperListAdapter.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/com/android/wallpaper/livepicker/LiveWallpaperListAdapter.java b/src/com/android/wallpaper/livepicker/LiveWallpaperListAdapter.java
index b10de8b..e526f9e 100644
--- a/src/com/android/wallpaper/livepicker/LiveWallpaperListAdapter.java
+++ b/src/com/android/wallpaper/livepicker/LiveWallpaperListAdapter.java
@@ -102,7 +102,6 @@ public class LiveWallpaperListAdapter extends BaseAdapter implements ListAdapter
holder = new ViewHolder();
holder.title = (TextView) convertView.findViewById(R.id.title);
- holder.description = (TextView) convertView.findViewById(R.id.description);
holder.thumbnail = (ImageView) convertView.findViewById(R.id.thumbnail);
convertView.setTag(holder);
} else {
@@ -122,16 +121,6 @@ public class LiveWallpaperListAdapter extends BaseAdapter implements ListAdapter
}
}
- if (holder.description != null && wallpaperInfo.info != null) {
- try {
- holder.description.setVisibility(View.VISIBLE);
- holder.description.setText(Html.fromHtml(
- wallpaperInfo.info.loadDescription(mPackageManager).toString()));
- } catch (Resources.NotFoundException e) {
- holder.description.setVisibility(View.GONE);
- }
- }
-
return convertView;
}
@@ -143,7 +132,6 @@ public class LiveWallpaperListAdapter extends BaseAdapter implements ListAdapter
private class ViewHolder {
TextView title;
- TextView description;
ImageView thumbnail;
}