remove unused method

This commit is contained in:
Eric House 2014-04-09 05:54:36 -07:00
parent 5e03e0cc75
commit 0aa2a03760

View file

@ -1152,27 +1152,6 @@ public class DBUtils {
}
}
public static int countVisibleGames( Context context )
{
int result = 0;
String[] columns = { ROW_ID };
String query = "SELECT %s FROM %s WHERE %s IN (SELECT %s FROM %s WHERE NOT %s = 0)";
query = String.format( query, ROW_ID, DBHelper.TABLE_NAME_SUM, DBHelper.GROUPID,
ROW_ID, DBHelper.TABLE_NAME_GROUPS, DBHelper.EXPANDED );
// DbgUtils.logf( "countVisibleGames: query=%s", query );
initDB( context );
synchronized( s_dbHelper ) {
SQLiteDatabase db = s_dbHelper.getReadableDatabase();
Cursor cursor = db.rawQuery( query, null );
result = cursor.getCount();
cursor.close();
db.close();
}
return result;
}
public static int countGames( Context context )
{
int result = 0;