This CL restores the window background color back to white. The IME color is light as well. So when the IME is showing and hiding, the gesture navigation bar won't need to change its color to adapt the background, which might consume additional CPU resource. Fix: 334024581 Flag: NA Test: ImePerfTest#testShowImeWarm Change-Id: I83bf308933d63cb138353d682a66cb8f6e1eb07a
49 lines
2.2 KiB
XML
49 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.perftests.inputmethod">
|
|
|
|
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<application>
|
|
<uses-library android:name="android.test.runner" />
|
|
<activity android:name="android.perftests.utils.PerfTestActivity"
|
|
android:theme="@android:style/Theme.DeviceDefault.Light.NoActionBar"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="com.android.perftests.core.PERFTEST" />
|
|
</intent-filter>
|
|
</activity>
|
|
<service android:name="android.inputmethod.ImePerfTest$BaselineIme"
|
|
android:process=":BaselineIME"
|
|
android:label="Baseline IME"
|
|
android:permission="android.permission.BIND_INPUT_METHOD"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.view.InputMethod"/>
|
|
</intent-filter>
|
|
<meta-data android:name="android.view.im"
|
|
android:resource="@xml/simple_method"/>
|
|
</service>
|
|
</application>
|
|
|
|
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
|
|
android:targetPackage="com.android.perftests.inputmethod">
|
|
<meta-data android:name="listener" android:value="android.inputmethod.ImePerfRunPrecondition" />
|
|
</instrumentation>
|
|
</manifest>
|