summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2013-04-24 09:55:12 -0400
committerLioncash <mathew1800@gmail.com>2013-04-24 09:55:12 -0400
commit9ee3a30878b5bf0310ab4e483cde03293faf1763 (patch)
tree6504b972828e27b36dff591b797661b3308f8354 /Source/Android
parentbd284f14689688c423fc097d69af894215778aa0 (diff)
Remove something that slipped through the last commit.
Don't even know why that was there.
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java b/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java
index 79d1bd44f2..db647723ad 100644
--- a/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java
+++ b/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java
@@ -136,8 +136,7 @@ public class DolphinEmulator<MainActivity> extends Activity
if (resultCode == Activity.RESULT_OK)
{
DisplayMetrics displayMetrics = new DisplayMetrics();
- getApplicationContext();
- WindowManager wm = (WindowManager) getApplicationContext().getSystemService(Context.WINDOW_SERVICE); // the results will be higher than using the activity context object or the getWindowManager() shortcut
+ WindowManager wm = (WindowManager) getApplicationContext().getSystemService(Context.WINDOW_SERVICE); // the results will be higher than using the activity context object or the getWindowManager() shortcut
wm.getDefaultDisplay().getMetrics(displayMetrics);
screenWidth = displayMetrics.widthPixels;
screenHeight = displayMetrics.heightPixels;