mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
fix NPE
This commit is contained in:
parent
397b03b074
commit
f6e0febd6d
1 changed files with 2 additions and 1 deletions
|
@ -349,7 +349,8 @@ public class GameListItem extends LinearLayout
|
|||
if ( 0 == --m_loadingCount ) {
|
||||
m_summary = summary;
|
||||
|
||||
if ( null != m_activity && null == summary.getThumbnail()
|
||||
if ( null != m_activity && null != summary
|
||||
&& null == summary.getThumbnail()
|
||||
&& XWPrefs.getThumbEnabled( m_context ) ) {
|
||||
summary.setThumbnail( GameUtils.loadMakeBitmap( m_activity,
|
||||
m_rowid ) );
|
||||
|
|
Loading…
Reference in a new issue