| Lan Wei | fd646fe | 2022-10-10 15:28:04 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2022 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | package="com.android.frameworks.inputmethodtests"> |
| 19 | |
| 20 | <uses-sdk android:targetSdkVersion="31" /> |
| czq | c841a4a | 2022-11-09 16:40:36 +0800 | [diff] [blame] | 21 | <queries> |
| 22 | <intent> |
| 23 | <action android:name="android.view.InputMethod" /> |
| 24 | </intent> |
| 25 | </queries> |
| Lan Wei | fd646fe | 2022-10-10 15:28:04 +0800 | [diff] [blame] | 26 | |
| 27 | <!-- Permissions required for granting and logging --> |
| 28 | <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE"/> |
| 29 | <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG"/> |
| 30 | <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG"/> |
| 31 | <uses-permission android:name="android.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD"/> |
| 32 | |
| 33 | <!-- Permissions for reading system info --> |
| 34 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" /> |
| 35 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 36 | |
| czq | c841a4a | 2022-11-09 16:40:36 +0800 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS"/> |
| 38 | <uses-permission android:name="android.permission.BIND_INPUT_METHOD" /> |
| 39 | |
| Lan Wei | fd646fe | 2022-10-10 15:28:04 +0800 | [diff] [blame] | 40 | <application android:testOnly="true" |
| 41 | android:debuggable="true"> |
| 42 | <uses-library android:name="android.test.runner" /> |
| czq | c841a4a | 2022-11-09 16:40:36 +0800 | [diff] [blame] | 43 | <service android:name="com.android.server.inputmethod.InputMethodBindingControllerTest$EmptyInputMethodService" |
| 44 | android:label="Empty IME" |
| 45 | android:permission="android.permission.BIND_INPUT_METHOD" |
| 46 | android:process=":service" |
| 47 | android:exported="true"> |
| 48 | <intent-filter> |
| 49 | <action android:name="android.view.InputMethod"/> |
| 50 | </intent-filter> |
| 51 | <meta-data android:name="android.view.im" |
| 52 | android:resource="@xml/method"/> |
| 53 | </service> |
| Lan Wei | fd646fe | 2022-10-10 15:28:04 +0800 | [diff] [blame] | 54 | </application> |
| 55 | |
| 56 | <instrumentation |
| 57 | android:name="androidx.test.runner.AndroidJUnitRunner" |
| 58 | android:targetPackage="com.android.frameworks.inputmethodtests" |
| 59 | android:label="Frameworks InputMethod System Service Tests" /> |
| 60 | |
| 61 | </manifest> |