mirror of https://github.com/encounter/SDL.git
Android: Added missing space in three log messages.
Also fixed a typo and changed tag string to constant.
This commit is contained in:
parent
551fbf7bea
commit
dbfd4fdd22
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue