[Android] Fixes #2247, enable hardware acceleration by default.
authorGabriel Jacobo <gabomdq@gmail.com>
Fri, 22 Nov 2013 10:26:28 -0300
changeset 80201e390ba95c43
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
     1.1 --- a/android-project/AndroidManifest.xml	Wed Nov 20 21:17:26 2013 -0500
     1.2 +++ b/android-project/AndroidManifest.xml	Fri Nov 22 10:26:28 2013 -0300
     1.3 @@ -20,7 +20,8 @@
     1.4      <application android:label="@string/app_name"
     1.5                   android:icon="@drawable/ic_launcher"
     1.6                   android:allowBackup="true"
     1.7 -                 android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
     1.8 +                 android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
     1.9 +                 android:hardwareAccelerated="true" >
    1.10          <activity android:name="SDLActivity"
    1.11                    android:label="@string/app_name"
    1.12                    android:configChanges="keyboardHidden|orientation"