diff options
author | David Stevens <stevensd@google.com> | 2021-11-15 16:17:15 +0900 |
---|---|---|
committer | David Stevens <stevensd@google.com> | 2021-11-16 03:51:34 +0000 |
commit | c6443ab01db18c0163d5080f2767ad1649864285 (patch) | |
tree | 17f978cbc77980f08a5db724b48039985831c9c6 | |
parent | cec802b9d3773893a2756abc3e737530676381a1 (diff) | |
download | v4l2_codec2-c6443ab01db18c0163d5080f2767ad1649864285.tar.gz |
c2_e2e_test: ignore configuration changesandroid-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-release
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.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" /> |