mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
change method name
This commit is contained in:
parent
c48ff355de
commit
bb9e0559dc
1 changed files with 6 additions and 6 deletions
|
@ -675,8 +675,8 @@ public class DBUtils {
|
|||
setSummaryInt( rowid, DBHelper.CONTRACTED, expanded?0:1 );
|
||||
}
|
||||
|
||||
private static int getInt( Context context, long rowid, String column,
|
||||
int dflt )
|
||||
private static int getSummaryInt( Context context, long rowid, String column,
|
||||
int dflt )
|
||||
{
|
||||
int result = dflt;
|
||||
String selection = String.format( ROW_ID_FMT, rowid );
|
||||
|
@ -695,18 +695,18 @@ public class DBUtils {
|
|||
|
||||
public static int getMsgFlags( Context context, long rowid )
|
||||
{
|
||||
return getInt( context, rowid, DBHelper.HASMSGS,
|
||||
GameSummary.MSG_FLAGS_NONE );
|
||||
return getSummaryInt( context, rowid, DBHelper.HASMSGS,
|
||||
GameSummary.MSG_FLAGS_NONE );
|
||||
}
|
||||
|
||||
public static boolean getExpanded( Context context, long rowid )
|
||||
{
|
||||
return 0 == getInt( context, rowid, DBHelper.CONTRACTED, 0 );
|
||||
return 0 == getSummaryInt( context, rowid, DBHelper.CONTRACTED, 0 );
|
||||
}
|
||||
|
||||
public static boolean gameOver( Context context, long rowid )
|
||||
{
|
||||
return 0 != getInt( context, rowid, DBHelper.GAME_OVER, 0 );
|
||||
return 0 != getSummaryInt( context, rowid, DBHelper.GAME_OVER, 0 );
|
||||
}
|
||||
|
||||
public static void saveThumbnail( Context context, GameLock lock,
|
||||
|
|
Loading…
Reference in a new issue