[Android] Fixes #2247, enable hardware acceleration by default.
authorGabriel Jacobo <gabomdq@gmail.com>
Fri, 22 Nov 2013 10:26:28 -0300
changeset 8020 1e390ba95c43
parent 8019 5d85b2186aae
child 8021 f96e12e0ade9
[Android] Fixes #2247, enable hardware acceleration by default. Setting android:hardwareAccelerated="true" seems to fix some random behaviors in certain devices like the XperiaE. Ref: http://developer.android.com/guide/topics/graphics/hardware-accel.html
android-project/AndroidManifest.xml
--- a/android-project/AndroidManifest.xml	Wed Nov 20 21:17:26 2013 -0500
+++ b/android-project/AndroidManifest.xml	Fri Nov 22 10:26:28 2013 -0300
@@ -20,7 +20,8 @@
     <application android:label="@string/app_name"
                  android:icon="@drawable/ic_launcher"
                  android:allowBackup="true"
-                 android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
+                 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
+                 android:hardwareAccelerated="true" >
         <activity android:name="SDLActivity"
                   android:label="@string/app_name"
                   android:configChanges="keyboardHidden|orientation"