Android: Added missing space in three log messages.

Also fixed a typo and changed tag string to constant.
Philipp Wiesemann 2015-05-31 19:23:16 +02:00
parent 551fbf7bea
commit dbfd4fdd22
1 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ public class SDLActivity extends Activity {
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
Log.v(TAG, "Device: " + android.os.Build.DEVICE); Log.v(TAG, "Device: " + android.os.Build.DEVICE);
Log.v(TAG, "Model: " + android.os.Build.MODEL); Log.v(TAG, "Model: " + android.os.Build.MODEL);
Log.v(TAG, "onCreate():" + mSingleton); Log.v(TAG, "onCreate(): " + mSingleton);
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
SDLActivity.initialize(); SDLActivity.initialize();
@ -180,7 +180,7 @@ public class SDLActivity extends Activity {
if (intent != null && intent.getData() != null) { if (intent != null && intent.getData() != null) {
String filename = intent.getData().getPath(); String filename = intent.getData().getPath();
if (filename != null) { if (filename != null) {
Log.v("SDL", "Get filename:" + filename); Log.v(TAG, "Got filename: " + filename);
SDLActivity.onNativeDropFile(filename); SDLActivity.onNativeDropFile(filename);
} }
} }
@ -1060,7 +1060,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
mWidth = width; mWidth = width;
mHeight = height; mHeight = height;
SDLActivity.onNativeResize(width, height, sdlFormat, mDisplay.getRefreshRate()); SDLActivity.onNativeResize(width, height, sdlFormat, mDisplay.getRefreshRate());
Log.v("SDL", "Window size:" + width + "x"+height); Log.v("SDL", "Window size: " + width + "x" + height);
// Set mIsSurfaceReady to 'true' *before* making a call to handleResume // Set mIsSurfaceReady to 'true' *before* making a call to handleResume
SDLActivity.mIsSurfaceReady = true; SDLActivity.mIsSurfaceReady = true;