no need for redraw in onWindowFocusChanged

This commit is contained in:
Eric House 2012-12-18 05:40:25 -08:00
parent 9d7d0aca2b
commit 6988b14247

View file

@ -91,7 +91,6 @@ public class GamesList extends XWListActivity
private int m_missingDictLang;
private long m_rowid;
private NetLaunchInfo m_netLaunchInfo;
private long m_invalRowID = DBUtils.ROWID_NOTFOUND;
@Override
protected Dialog onCreateDialog( int id )
@ -379,10 +378,6 @@ public class GamesList extends XWListActivity
if ( hasFocus ) {
updateField();
}
if ( hasFocus && DBUtils.ROWID_NOTFOUND != m_invalRowID ) {
m_adapter.inval( m_invalRowID );
m_invalRowID = DBUtils.ROWID_NOTFOUND;
}
}
// DBUtils.DBChangeListener interface
@ -883,7 +878,6 @@ public class GamesList extends XWListActivity
private void launchGame( long rowid, boolean invited )
{
m_invalRowID = rowid;
GameUtils.launchGame( this, rowid, invited );
}