mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
use changed API
This commit is contained in:
parent
4c1c298168
commit
af0048c93a
1 changed files with 1 additions and 12 deletions
|
@ -272,17 +272,6 @@ public class GamesList extends XWListActivity
|
||||||
HandleRelaysIDs( relayIDs );
|
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
|
@Override
|
||||||
public void onWindowFocusChanged( boolean hasFocus )
|
public void onWindowFocusChanged( boolean hasFocus )
|
||||||
{
|
{
|
||||||
|
@ -325,7 +314,7 @@ public class GamesList extends XWListActivity
|
||||||
|
|
||||||
private void doSyncMenuitem()
|
private void doSyncMenuitem()
|
||||||
{
|
{
|
||||||
if ( null == DBUtils.getRelayIDNoMsgs( this ) ) {
|
if ( null == DBUtils.getRelayIDs( this, false ) ) {
|
||||||
showOKOnlyDialog( R.string.no_games_to_refresh );
|
showOKOnlyDialog( R.string.no_games_to_refresh );
|
||||||
} else {
|
} else {
|
||||||
new RefreshMsgsTask( this, this ).execute();
|
new RefreshMsgsTask( this, this ).execute();
|
||||||
|
|
Loading…
Reference in a new issue