Android: Buildfix.

This commit is contained in:
weihuoya 2018-04-19 21:23:48 -07:00 committed by Unknown W. Brackets
parent 0381f3afb9
commit 19ddeea8ee

View file

@ -549,7 +549,7 @@ public abstract class NativeActivity extends Activity implements SurfaceHolder.C
Log.i(TAG, "Correct orientation detected, resetting orientation counter.");
badOrientationCount = 0;
} else {
Log.i(TAG, "Bad orientation detected but ignored" + (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT ? " (sdk version)" : "");
Log.i(TAG, "Bad orientation detected but ignored" + (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT ? " (sdk version)" : ""));
}
Log.d(TAG, "Surface created. pixelWidth=" + pixelWidth + ", pixelHeight=" + pixelHeight + " holder: " + holder.toString() + " or: " + requestedOr);