From af0048c93a5f7dbdea860c0b054aa731264166f9 Mon Sep 17 00:00:00 2001 From: Andy2 Date: Wed, 9 Feb 2011 06:41:53 -0800 Subject: [PATCH] use changed API --- .../src/org/eehouse/android/xw4/GamesList.java | 13 +------------ 1 file changed, 1 insertion(+), 12 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 824009508..ee2ca308b 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesList.java @@ -272,17 +272,6 @@ public class GamesList extends XWListActivity HandleRelaysIDs( relayIDs ); } - // @Override - // protected void onNewIntent( Intent intent ) - // { - // RelayService.CancelNotification(); - - // Utils.logf( "onNewIntent called" ); - // String[] relayIDs = intent. - // getStringArrayExtra( getString(R.string.relayids_extra) ); - // HandleRelaysIDs( relayIDs ); - // } - @Override public void onWindowFocusChanged( boolean hasFocus ) { @@ -325,7 +314,7 @@ public class GamesList extends XWListActivity private void doSyncMenuitem() { - if ( null == DBUtils.getRelayIDNoMsgs( this ) ) { + if ( null == DBUtils.getRelayIDs( this, false ) ) { showOKOnlyDialog( R.string.no_games_to_refresh ); } else { new RefreshMsgsTask( this, this ).execute();