Remove something that slipped through the last commit.
Don't even know why that was there.
This commit is contained in:
parent
bd284f1468
commit
9ee3a30878
|
@ -136,7 +136,6 @@ 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
|
||||
wm.getDefaultDisplay().getMetrics(displayMetrics);
|
||||
screenWidth = displayMetrics.widthPixels;
|
||||
|
|
Loading…
Reference in New Issue