Add screenLayout to AndroidManifest configChanges
authorRobert Tray <rtray@nvidia.com>
Fri, 14 Sep 2018 22:40:32 +0000 (16:40 -0600)
committerDaniel Koch <dkoch@nvidia.com>
Thu, 20 Sep 2018 12:19:50 +0000 (14:19 +0200)
Android P will generate screenLayout configuration changes for
AndroidTV devices when an orientation change happens.

Specify that dEQP will handle screenLayout config changes in the
manifest so the Android framework doesn't try to stop and restart dEQP.
dEQP can't handle a restart and just exits.

Components: AOSP

VK-GL-CTS issue: 1357

Change-Id: I0e4eb3a89f5dfb175cbeb32cc6c921a0fe99e477

android/package/AndroidManifest.xml

index 322ad47..a2e02d5 100644 (file)
@@ -24,7 +24,7 @@
                <activity android:name="android.app.NativeActivity"
                                  android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
                                  android:label="dEQP Test Process"
-                                 android:configChanges="keyboardHidden|orientation|screenSize"
+                                 android:configChanges="keyboardHidden|orientation|screenSize|screenLayout"
                                  android:exported="true"
                                  android:process=":testercore">
                        <meta-data android:name="android.app.lib_name"