Fix NPE in Live Wallpaper loader
Bug: 11584868
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