1<?xml version="1.0" encoding="utf-8"?>
2
3<!--
4  ~ Copyright (C) 2021 The Android Open Source Project
5  ~
6  ~ Licensed under the Apache License, Version 2.0 (the "License");
7  ~ you may not use this file except in compliance with the License.
8  ~ You may obtain a copy of the License at
9  ~
10  ~      http://www.apache.org/licenses/LICENSE-2.0
11  ~
12  ~ Unless required by applicable law or agreed to in writing, software
13  ~ distributed under the License is distributed on an "AS IS" BASIS,
14  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  ~ See the License for the specific language governing permissions and
16  ~ limitations under the License.
17  -->
18
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20          package="com.android.bedstead.testapp.NotEmptyTestApp">
21
22    <application android:label="NotEmptyTestApp">
23        <meta-data android:name="test-metadata-key" android:value="test-metadata-value" />
24
25        <activity-alias
26            android:name="android.testapp.TestSchemeActivityAlias"
27            android:targetActivity="android.testapp.TestSchemeActivity"
28            android:exported="true">
29            <intent-filter >
30                <action android:name="android.intent.action.ACTIVITY_ALIAS_ACTION" />
31                <category android:name="android.intent.category.DEFAULT" />
32            </intent-filter>
33        </activity-alias>
34
35        <!--This should only be included in a single TestApp-->
36        <activity android:name="android.testapp.UniqueActivity" android:exported="true">
37            <intent-filter>
38                <category android:name="android.intent.category.DEFAULT"/>
39                <action android:name="com.android.testapp.UNIQUE_ACTIVITY_ACTION" />
40            </intent-filter>
41        </activity>
42        <activity android:name="android.testapp.TestSchemeActivity" android:exported="true">
43            <intent-filter>
44                <action android:name="android.intent.action.VIEW" />
45                <category android:name="android.intent.category.DEFAULT" />
46                <category android:name="android.intent.category.BROWSABLE" />
47                <data android:scheme="test" />
48            </intent-filter>
49        </activity>
50        <activity android:name="android.testapp.DefaultLauncherActivity" android:exported="true">
51            <intent-filter>
52                <action android:name="android.intent.action.MAIN" />
53                <category android:name="android.intent.category.HOME"/>
54                <category android:name="android.intent.category.DEFAULT"/>
55            </intent-filter>
56        </activity>
57        <service
58            android:name=".TestSystemCredentialProviderService"
59            android:enabled="true"
60            android:exported="true"
61            android:permission="android.permission.BIND_CREDENTIAL_PROVIDER_SERVICE">
62            <intent-filter>
63                <action android:name="android.service.credentials.system.CredentialProviderService"/>
64            </intent-filter>
65
66            <!-- TODO(274582121): used by make CredentialManager treat this app as a system app -->
67            <meta-data android:name="android.credentials.testsystemprovider" android:value="true" />
68        </service>
69    </application>
70    <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="34"/>
71</manifest>
72