xref: /aosp_15_r20/test/cts-root/tests/input/AndroidManifest.xml (revision fc9e02cc466b32ca348fe8172a44255464d9ce4e)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright 2024 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 -->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="android.input.cts_root">
18    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
19    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
20    <uses-permission android:name="android.permission.CREATE_VIRTUAL_DEVICE" />
21    <uses-permission android:name="android.permission.ADD_TRUSTED_DISPLAY" />
22    <application android:label="InputTest"
23                 android:requestLegacyExternalStorage="true">
24        <activity android:name="android.input.cts_root.CaptureEventActivity"
25                  android:label="Capture events"
26                  android:configChanges="touchscreen|uiMode|orientation|screenSize|screenLayout|keyboardHidden|uiMode|navigation|keyboard|density|fontScale|layoutDirection|locale|mcc|mnc|smallestScreenSize"
27                  android:enableOnBackInvokedCallback="false"
28                  android:turnScreenOn="true"
29                  android:exported="true">
30        </activity>
31    </application>
32    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
33         android:targetPackage="android.input.cts_root"
34         android:label="Tests for input APIs and behaviours.">
35    </instrumentation>
36</manifest>
37