From 6988b1424737d9ea4d9aa9efc9d6e56935a03102 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 18 Dec 2012 05:40:25 -0800 Subject: [PATCH] no need for redraw in onWindowFocusChanged --- .../XWords4/src/org/eehouse/android/xw4/GamesList.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java index 2fa53e3b1..84bfba2ae 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java @@ -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 ); }