camera tests: handle configurationChanges for orientation ourselves
* This makes the surfaceview not get destroyed on orientation-related
configuration changes, and hopefully fixes the race condition
where the surfaceview used by the camera was destroyed after
orientation changed.
Bug: 9051162
Change-Id: I8f1d879cef7388437946b81cde046bd526a9f832
diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
index f9df338..636a945 100644
--- a/tests/AndroidManifest.xml
+++ b/tests/AndroidManifest.xml
@@ -569,7 +569,8 @@
<activity android:name="android.hardware.cts.CameraStubActivity"
android:label="CameraStubActivity"
- android:screenOrientation="landscape">
+ android:screenOrientation="landscape"
+ android:configChanges="keyboardHidden|orientation|screenSize">
</activity>
<activity android:name="android.view.inputmethod.cts.InputMethodStubActivity"