am 5bfab60f: Fix NPE in Live Wallpaper loader

* commit '5bfab60fff6c3da8f8d8e245a496a031f807560d':
  Fix NPE in Live Wallpaper loader
This commit is contained in:
Michael Jurka authored and Android Git Automerger committed 2013-11-08 08:17:24 -08:00
commit 5fa148a1d9
1 file changed
+3 -1
@@ -190,7 +190,9 @@ public class LiveWallpaperListAdapter extends BaseAdapter implements ListAdapter
LiveWallpaperListAdapter.this.notifyDataSetChanged();
break;
}
info.mThumbnail.setDither(true);
if (info.mThumbnail != null) {
info.mThumbnail.setDither(true);
}
if (mWallpaperPosition < mWallpapers.size()) {
mWallpapers.set(mWallpaperPosition, info);
} else {