Fix NPE in Live Wallpaper loader

Bug: 11584868
This commit is contained in:
Michael Jurka
2013-11-08 16:59:11 +01:00
parent 3428b5e9f9
commit 5bfab60fff
@@ -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 {