Avoid recreating activity when rotating the display.

Reference:
https://developer.android.com/guide/topics/resources/runtime-changes#HandlingTheChange

Bug: b/193828422
Change-Id: I4caa80941e4d32bdf5c830985a19536efd041069
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3032150
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Charlie Lao <cclao@google.com>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Pujun Lun 2021-07-15 14:58:54 -07:00 коммит произвёл Angle LUCI CQ
Родитель 966c6a9aa0
Коммит 2a713d9299
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -33,7 +33,7 @@ found in the LICENSE file.
<uses-library android:name="android.test.runner"/>
<activity android:name=".AngleUnitTestActivity"
android:label="NativeTest"
android:configChanges="orientation|keyboardHidden"
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
android:process=":test_process">
{% if is_component_build == 'true' %}
<meta-data android:name="android.app.lib_name"