Add screenLayout to AndroidManifest configChanges
authorRobert Tray <rtray@nvidia.com>
Fri, 14 Sep 2018 22:40:32 +0000 (16:40 -0600)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Sep 2018 08:29:21 +0000 (04:29 -0400)
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 5d52274..79c49f0 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"