summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java/org
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2019-06-16 11:14:30 +0200
committerJosJuice <josjuice@gmail.com>2019-11-23 17:48:43 +0100
commit84e616337d7bee085546f7b7f1d037eea6d5312e (patch)
tree6b88d8379bedec35a744d9af21c1000de72ff4d0 /Source/Android/app/src/main/java/org
parent100e7e2b3d40a2329c8cd9cc1394d12fe955b2ba (diff)
GameDetailsDialog: Remove the screenshot ImageView
It takes up a lot of space on the screen, and the functionality for saving these screenshots isn't in Dolphin anymore as far as I can tell.
Diffstat (limited to 'Source/Android/app/src/main/java/org')
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java10
-rw-r--r--Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFile.java7
2 files changed, 0 insertions, 17 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java
index 42b0224088..f991e685f3 100644
--- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java
+++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/dialogs/GameDetailsDialog.java
@@ -42,7 +42,6 @@ public final class GameDetailsDialog extends DialogFragment
ViewGroup contents = (ViewGroup) getActivity().getLayoutInflater()
.inflate(R.layout.dialog_game_details, null);
- final ImageView imageGameScreen = contents.findViewById(R.id.image_game_screen);
ImageView banner = contents.findViewById(R.id.banner);
TextView textTitle = contents.findViewById(R.id.text_game_title);
@@ -71,15 +70,6 @@ public final class GameDetailsDialog extends DialogFragment
EmulationActivity.launch(getActivity(), gameFile);
});
- // Fill in the view contents.
- Picasso.get()
- .load(getArguments().getString(gameFile.getScreenshotPath()))
- .fit()
- .centerCrop()
- .noFade()
- .noPlaceholder()
- .into(imageGameScreen);
-
PicassoUtils.loadGameBanner(banner, gameFile);
builder.setView(contents);
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFile.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFile.java
index 70be6cd080..dea006f24e 100644
--- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFile.java
+++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/model/GameFile.java
@@ -54,11 +54,4 @@ public class GameFile
{
return getPath().substring(0, getPath().lastIndexOf(".")) + ".cover.png";
}
-
- public String getScreenshotPath()
- {
- String gameId = getGameId();
- return "file://" + Environment.getExternalStorageDirectory().getPath() +
- "/dolphin-emu/ScreenShots/" + gameId + "/" + gameId + "-1.png";
- }
}