mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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 );
|
setSummaryInt( rowid, DBHelper.CONTRACTED, expanded?0:1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
private static int getInt( Context context, long rowid, String column,
|
private static int getSummaryInt( Context context, long rowid, String column,
|
||||||
int dflt )
|
int dflt )
|
||||||
{
|
{
|
||||||
int result = dflt;
|
int result = dflt;
|
||||||
String selection = String.format( ROW_ID_FMT, rowid );
|
String selection = String.format( ROW_ID_FMT, rowid );
|
||||||
|
@ -695,18 +695,18 @@ public class DBUtils {
|
||||||
|
|
||||||
public static int getMsgFlags( Context context, long rowid )
|
public static int getMsgFlags( Context context, long rowid )
|
||||||
{
|
{
|
||||||
return getInt( context, rowid, DBHelper.HASMSGS,
|
return getSummaryInt( context, rowid, DBHelper.HASMSGS,
|
||||||
GameSummary.MSG_FLAGS_NONE );
|
GameSummary.MSG_FLAGS_NONE );
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean getExpanded( Context context, long rowid )
|
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 )
|
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,
|
public static void saveThumbnail( Context context, GameLock lock,
|
||||||
|
|
Loading…
Reference in a new issue