Fix loading the saved screen shots for Android version

Apparently the path was changed from using "/thump.png" to using
"/gameId-#.png". We will always use the first screenshot for the game
broswer wich will be "/gameId-1.png"
This commit is contained in:
Mahdi Hijazi 2017-03-18 21:46:03 +01:00
parent d19f9038da
commit 4c0e5dedb4
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public final class Game
{
ContentValues values = new ContentValues();
String screenPath = PATH_SCREENSHOT_FOLDER + gameId + "/thumb.png";
String screenPath = PATH_SCREENSHOT_FOLDER + gameId + "/" + gameId + "-1.png";
values.put(GameDatabase.KEY_GAME_PLATFORM, platform);
values.put(GameDatabase.KEY_GAME_TITLE, title);