mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
from GamesList.onNewIntent, launch the first changed game rather than
just invalidating all changed list items.
This commit is contained in:
parent
ed8707fb4b
commit
20ad465b96
1 changed files with 15 additions and 9 deletions
|
@ -243,6 +243,7 @@ public class GamesList extends XWListActivity
|
||||||
m_handler.post( new Runnable() {
|
m_handler.post( new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
invalRelayIDs( relayIDs );
|
invalRelayIDs( relayIDs );
|
||||||
|
startFirstHasDict( relayIDs );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
@ -514,11 +515,8 @@ public class GamesList extends XWListActivity
|
||||||
|
|
||||||
// Launch the first of these for which there's a dictionary
|
// Launch the first of these for which there's a dictionary
|
||||||
// present.
|
// present.
|
||||||
private void startFirstHasDict( Intent intent )
|
private void startFirstHasDict( String[] relayIDs )
|
||||||
{
|
{
|
||||||
if ( null != intent ) {
|
|
||||||
String[] relayIDs = intent
|
|
||||||
.getStringArrayExtra( getString( R.string.relayids_extra ) );
|
|
||||||
if ( null != relayIDs ) {
|
if ( null != relayIDs ) {
|
||||||
for ( String relayID : relayIDs ) {
|
for ( String relayID : relayIDs ) {
|
||||||
String path = DBUtils.getPathFor( this, relayID );
|
String path = DBUtils.getPathFor( this, relayID );
|
||||||
|
@ -529,5 +527,13 @@ public class GamesList extends XWListActivity
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void startFirstHasDict( Intent intent )
|
||||||
|
{
|
||||||
|
if ( null != intent ) {
|
||||||
|
String[] relayIDs = intent
|
||||||
|
.getStringArrayExtra( getString( R.string.relayids_extra ) );
|
||||||
|
startFirstHasDict( relayIDs );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue