diff options
author | David Stevens <stevensd@google.com> | 2021-11-15 16:17:15 +0900 |
---|---|---|
committer | David Stevens <stevensd@google.com> | 2021-11-16 13:10:53 +0900 |
commit | d49af9174f79ee54d20528ccd0dd4327d303638f (patch) | |
tree | fdfe4b315362ac6c82ce5aea5c76d33f9e1be38c | |
parent | 2c2e7cdb856875d23c7f87e0c6bb897a0c09d6d7 (diff) | |
download | v4l2_codec2-d49af9174f79ee54d20528ccd0dd4327d303638f.tar.gz |
c2_e2e_test: ignore configuration changes
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
-rw-r--r-- | tests/c2_e2e_test/AndroidManifest.xml | 1 |
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" /> |