diff mbox

[Branch,~glmark2-dev/glmark2/trunk] Rev 153: Android: Don't accept sensor events to avoid screen rotation

Message ID 20111013140520.8587.80320.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

alexandros.frantzis@linaro.org Oct. 13, 2011, 2:05 p.m. UTC
------------------------------------------------------------
revno: 153
author: Jim Huang <jserv@0xlab.org>
committer: Alexandros Frantzis <alexandros.frantzis@linaro.org>
branch nick: trunk
timestamp: Thu 2011-10-13 15:45:49 +0300
message:
  Android: Don't accept sensor events to avoid screen rotation
  
  glmark2 doesn't currently support dynamic screen resizing.
modified:
  android/AndroidManifest.xml


--
lp:glmark2
https://code.launchpad.net/~glmark2-dev/glmark2/trunk

You are subscribed to branch lp:glmark2.
To unsubscribe from this branch go to https://code.launchpad.net/~glmark2-dev/glmark2/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'android/AndroidManifest.xml'
--- android/AndroidManifest.xml	2011-10-13 12:43:55 +0000
+++ android/AndroidManifest.xml	2011-10-13 12:45:49 +0000
@@ -6,6 +6,7 @@ 
         <activity android:label="@string/app_name"
                   android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
                   android:launchMode="singleTask"
+                  android:screenOrientation="nosensor"
                   android:name="org.linaro.glmark2.Glmark2Activity">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />