Remove something that slipped through the last commit.

Don't even know why that was there.
This commit is contained in:
Lioncash 2013-04-24 09:55:12 -04:00
parent bd284f1468
commit 9ee3a30878

View file

@ -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;