diff options
| author | Lioncash <mathew1800@gmail.com> | 2013-04-24 09:55:12 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2013-04-24 09:55:12 -0400 |
| commit | 9ee3a30878b5bf0310ab4e483cde03293faf1763 (patch) | |
| tree | 6504b972828e27b36dff591b797661b3308f8354 /Source/Android/src | |
| parent | bd284f14689688c423fc097d69af894215778aa0 (diff) | |
Remove something that slipped through the last commit.
Don't even know why that was there.
Diffstat (limited to 'Source/Android/src')
| -rw-r--r-- | Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java | 3 |
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; |
