mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
cleanup
This commit is contained in:
parent
302a3a5025
commit
011825e4a9
1 changed files with 4 additions and 3 deletions
|
@ -1779,7 +1779,7 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
return handled;
|
return handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean handleSelGamesItem( int itemID, final long[] selRowIDs )
|
private boolean handleSelGamesItem( int itemID, long[] selRowIDs )
|
||||||
{
|
{
|
||||||
boolean handled = true;
|
boolean handled = true;
|
||||||
boolean dropSels = false;
|
boolean dropSels = false;
|
||||||
|
@ -1818,8 +1818,9 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
.show();
|
.show();
|
||||||
break;
|
break;
|
||||||
case R.id.games_game_copy:
|
case R.id.games_game_copy:
|
||||||
|
final long selRowID = selRowIDs[0];
|
||||||
final GameSummary smry = GameUtils.getSummary( m_activity,
|
final GameSummary smry = GameUtils.getSummary( m_activity,
|
||||||
selRowIDs[0] );
|
selRowID );
|
||||||
if ( smry.inRelayGame() ) {
|
if ( smry.inRelayGame() ) {
|
||||||
makeOkOnlyBuilder( R.string.no_copy_network ).show();
|
makeOkOnlyBuilder( R.string.no_copy_network ).show();
|
||||||
} else {
|
} else {
|
||||||
|
@ -1828,7 +1829,7 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
public void run() {
|
public void run() {
|
||||||
Activity self = m_activity;
|
Activity self = m_activity;
|
||||||
byte[] stream =
|
byte[] stream =
|
||||||
GameUtils.savedGame( self, selRowIDs[0] );
|
GameUtils.savedGame( self, selRowID );
|
||||||
long groupID = XWPrefs
|
long groupID = XWPrefs
|
||||||
.getDefaultNewGameGroup( self );
|
.getDefaultNewGameGroup( self );
|
||||||
try ( GameLock lock =
|
try ( GameLock lock =
|
||||||
|
|
Loading…
Reference in a new issue