* commit '5fa148a1d9204a3de3177aef18c80506de2879e8': Fix NPE in Live Wallpaper loader
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user