aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Stevens <stevensd@google.com>2021-11-15 16:17:15 +0900
committerDavid Stevens <stevensd@google.com>2021-11-16 03:51:34 +0000
commitc6443ab01db18c0163d5080f2767ad1649864285 (patch)
tree17f978cbc77980f08a5db724b48039985831c9c6
parentcec802b9d3773893a2756abc3e737530676381a1 (diff)
downloadv4l2_codec2-c6443ab01db18c0163d5080f2767ad1649864285.tar.gz
Update the E2eTestActivity manifest so that it handles configuration changes itself, and just ignore them. This prevents the activity from being recreated, which destroys the test surface. Bug: 206342802 Test: tast run octopus arc.VideoDecodeAccelPerf.* Change-Id: Ie48cf0650424c9f641c2770b3127f75e6407c01d (cherry picked from commit 0127892edd2d5f62623e14db20b1a023850e0667)
-rw-r--r--tests/c2_e2e_test/AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/c2_e2e_test/AndroidManifest.xml b/tests/c2_e2e_test/AndroidManifest.xml
index e167cb5..bd19afd 100644
--- a/tests/c2_e2e_test/AndroidManifest.xml
+++ b/tests/c2_e2e_test/AndroidManifest.xml
@@ -20,6 +20,7 @@
android:label="@string/app_name">
<activity android:name=".E2eTestActivity"
android:launchMode="singleTop"
+ android:configChanges="orientation|screenSize|screenLayout"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />