Fixed Database.getGameOptions()
this method was referencing the game history table Change-Id: I4ce7fd0e60a4b89cf76e86e80e69212612c0d8d1 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -456,7 +456,7 @@ public class Database {
|
||||
* @author ricky barrette
|
||||
*/
|
||||
public ContentValues getGameOptions(long gameId){
|
||||
return parseCursor(mDb.query(GAME_HISTORY_TABLE, new String[]{ KEY, KEY_VALUE }, KEY_NAME +" = "+ DatabaseUtils.sqlEscapeString(getGameName(gameId)), null, null, null, null));
|
||||
return parseCursor(mDb.query(GAME_OPTIONS_TABLE, new String[]{ KEY, KEY_VALUE }, KEY_NAME +" = "+ DatabaseUtils.sqlEscapeString(getGameName(gameId)), null, null, null, null));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user