am aa07fd63: am 6f372bb7: am 5fa148a1: am 5bfab60f: Fix NPE in Live Wallpaper loader

* commit 'aa07fd636e46d1be902e37519b529fbbe11dfa41':
  Fix NPE in Live Wallpaper loader
This commit is contained in:
Michael Jurka
2014-02-14 20:53:36 +00:00
committed by Android Git Automerger
@@ -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 {