Removed unneeded variable qualifiers

This commit is contained in:
Sam Lantinga 2018-10-09 20:12:40 -07:00
parent 82c2f04e61
commit 4679f6826d
1 changed files with 3 additions and 4 deletions

View File

@ -191,8 +191,8 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
// Setup // Setup
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
Log.v(TAG, "Device: " + android.os.Build.DEVICE); Log.v(TAG, "Device: " + Build.DEVICE);
Log.v(TAG, "Model: " + android.os.Build.MODEL); Log.v(TAG, "Model: " + Build.MODEL);
Log.v(TAG, "onCreate()"); Log.v(TAG, "onCreate()");
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
@ -1585,8 +1585,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
int nDeviceHeight = height; int nDeviceHeight = height;
try try
{ {
if ( android.os.Build.VERSION.SDK_INT >= 17 ) if (Build.VERSION.SDK_INT >= 17) {
{
android.util.DisplayMetrics realMetrics = new android.util.DisplayMetrics(); android.util.DisplayMetrics realMetrics = new android.util.DisplayMetrics();
mDisplay.getRealMetrics( realMetrics ); mDisplay.getRealMetrics( realMetrics );
nDeviceWidth = realMetrics.widthPixels; nDeviceWidth = realMetrics.widthPixels;