Lock orientation for CapturedActivity
bug:32020820
Change-Id: I950792193d6d321acb02c63104c77198cc48aca1
(cherry picked from commit ada16070c7ba2ccbb061378183c079e407a3f36d)
diff --git a/tests/tests/view/AndroidManifest.xml b/tests/tests/view/AndroidManifest.xml
index 1061ff3..526e85f 100644
--- a/tests/tests/view/AndroidManifest.xml
+++ b/tests/tests/view/AndroidManifest.xml
@@ -250,7 +250,8 @@
</activity>
<activity android:name="android.view.cts.surfacevalidator.CapturedActivity"
- android:theme="@style/WhiteBackgroundTheme">
+ android:screenOrientation="portrait"
+ android:theme="@style/WhiteBackgroundTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />