don't turn on selection if already on (fixes Assertion)

This commit is contained in:
Eric House 2013-10-13 21:39:13 -07:00
parent f305cbb9fe
commit ddb87516ab

View file

@ -321,8 +321,7 @@ public class GameListItem extends LinearLayout
}
}
if ( m_cb.getSelected( m_rowid ) ) {
Assert.assertNull( m_origDrawable );
if ( m_cb.getSelected( m_rowid ) && null == m_origDrawable ) {
toggleSelected();
}
}