summaryrefslogtreecommitdiffstats
path: root/tests/DumpRenderTree
diff options
context:
space:
mode:
authorGuang Zhu <guangzhu@google.com>2010-01-19 11:51:44 -0800
committerGuang Zhu <guangzhu@google.com>2010-01-19 11:51:44 -0800
commit4ddcedeff14de15c4ddaf49ce62a5ca07be369c2 (patch)
tree1761ff1cb034f70b7fe0a0487e7990316cf508d0 /tests/DumpRenderTree
parentf167c4bfca57b5467f40f6cf25e10fb12183a9f3 (diff)
downloadframeworks_base-4ddcedeff14de15c4ddaf49ce62a5ca07be369c2.zip
frameworks_base-4ddcedeff14de15c4ddaf49ce62a5ca07be369c2.tar.gz
frameworks_base-4ddcedeff14de15c4ddaf49ce62a5ca07be369c2.tar.bz2
Prevent orientation change from triggering activity recreation.
Diffstat (limited to 'tests/DumpRenderTree')
-rw-r--r--tests/DumpRenderTree/AndroidManifest.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/DumpRenderTree/AndroidManifest.xml b/tests/DumpRenderTree/AndroidManifest.xml
index efa4113..03b7e26 100644
--- a/tests/DumpRenderTree/AndroidManifest.xml
+++ b/tests/DumpRenderTree/AndroidManifest.xml
@@ -17,14 +17,16 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.dumprendertree">
<application android:name="HTMLHostApp">
<uses-library android:name="android.test.runner" />
- <activity android:name="Menu" android:label="1 Dump Render Tree">
+ <activity android:name="Menu" android:label="Dump Render Tree"
+ android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.TEST" />
</intent-filter>
</activity>
- <activity android:name="TestShellActivity" android:launchMode="singleTop" />
- <activity android:name="ReliabilityTestActivity" />
+ <activity android:name="TestShellActivity" android:launchMode="singleTop"
+ android:screenOrientation="portrait"/>
+ <activity android:name="ReliabilityTestActivity" android:screenOrientation="portrait"/>
</application>
<instrumentation android:name=".LayoutTestsAutoRunner"