Update version info, disable buggy fullscreen on 2.3
This commit is contained in:
parent
19b5ac81a3
commit
26e6eef233
4 changed files with 6 additions and 6 deletions
|
@ -41,7 +41,6 @@
|
||||||
<activity android:name="org.libsdl.app.SDLActivity"
|
<activity android:name="org.libsdl.app.SDLActivity"
|
||||||
android:screenOrientation="sensorLandscape"
|
android:screenOrientation="sensorLandscape"
|
||||||
android:configChanges="orientation|screenSize"
|
android:configChanges="orientation|screenSize"
|
||||||
android:windowSoftInputMode="adjustResize"
|
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:taskAffinity="org.libsdl.app.SDLActivity"
|
android:taskAffinity="org.libsdl.app.SDLActivity"
|
||||||
>
|
>
|
||||||
|
|
|
@ -12,7 +12,7 @@ APP_PLATFORM := android-8
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
CFLAGS_OPT := -O3 -fomit-frame-pointer -ggdb -funsafe-math-optimizations -ftree-vectorize -fgraphite-identity -floop-interchange -funsafe-loop-optimizations -finline-limit=1024
|
CFLAGS_OPT := -O3 -fomit-frame-pointer -ggdb -funsafe-math-optimizations -ftree-vectorize -fgraphite-identity -floop-interchange -floop-block -funsafe-loop-optimizations -finline-limit=1024
|
||||||
CFLAGS_OPT_ARM := -mthumb -mfpu=neon -mcpu=cortex-a9 -pipe -mvectorize-with-neon-quad -DVECTORIZE_SINCOS
|
CFLAGS_OPT_ARM := -mthumb -mfpu=neon -mcpu=cortex-a9 -pipe -mvectorize-with-neon-quad -DVECTORIZE_SINCOS
|
||||||
CFLAGS_OPT_ARMv5 :=-march=armv6 -mfpu=vfp -marm -pipe
|
CFLAGS_OPT_ARMv5 :=-march=armv6 -mfpu=vfp -marm -pipe
|
||||||
CFLAGS_OPT_X86 := -mtune=atom -march=atom -mssse3 -mfpmath=sse -funroll-loops -pipe -DVECTORIZE_SINCOS
|
CFLAGS_OPT_X86 := -mtune=atom -march=atom -mssse3 -mfpmath=sse -funroll-loops -pipe -DVECTORIZE_SINCOS
|
||||||
|
|
|
@ -161,8 +161,10 @@ public class SDLActivity extends Activity {
|
||||||
|
|
||||||
// fullscreen
|
// fullscreen
|
||||||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
if(Build.VERSION.SDK_INT >= 12) {
|
||||||
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
|
||||||
|
WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||||
|
}
|
||||||
|
|
||||||
// keep screen on
|
// keep screen on
|
||||||
getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
|
getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
-->
|
-->
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="in.celest.xash3d.hl.test"
|
package="in.celest.xash3d.hl.test"
|
||||||
android:versionCode="0"
|
android:versionCode="1"
|
||||||
android:versionName="0.15pre"
|
android:versionName="0.15pre"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@
|
||||||
<activity android:name="org.libsdl.app.SDLActivity"
|
<activity android:name="org.libsdl.app.SDLActivity"
|
||||||
android:screenOrientation="sensorLandscape"
|
android:screenOrientation="sensorLandscape"
|
||||||
android:configChanges="orientation|screenSize"
|
android:configChanges="orientation|screenSize"
|
||||||
android:windowSoftInputMode="adjustResize"
|
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:taskAffinity="org.libsdl.app.SDLActivity"
|
android:taskAffinity="org.libsdl.app.SDLActivity"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue