1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2022 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"
18    package="android.security.cts.CVE_2020_0338"
19    android:versionCode="1"
20    android:versionName="1.0">
21
22    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
23    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
24    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
25    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
26
27    <application
28        android:allowBackup="true"
29        android:label="CVE-2020-0338"
30        android:supportsRtl="true">
31        <activity
32            android:name=".PocActivity"
33            android:exported="true">
34            <intent-filter>
35                <action android:name="android.intent.action.MAIN" />
36                <category android:name="android.intent.category.LAUNCHER" />
37            </intent-filter>
38
39            <intent-filter android:label="AOSP_Content_Reader">
40                <action android:name="android.intent.action.SEND" />
41                <data android:scheme="content" />
42                <data android:scheme="file" />
43                <data android:mimeType="*/*" />
44                <category android:name="android.intent.category.BROWSABLE" />
45                <category android:name="android.intent.category.DEFAULT" />
46            </intent-filter>
47        </activity>
48
49        <service
50            android:name=".PocService"
51            android:exported="false">
52            <intent-filter>
53                <action android:name="android.accounts.AccountAuthenticator" />
54            </intent-filter>
55            <meta-data
56                android:name="android.accounts.AccountAuthenticator"
57                android:resource="@xml/authenticator" />
58        </service>
59        <meta-data
60            android:name="com.google.android.actions"
61            android:exported="true"
62            android:resource="@xml/authenticator" />
63    </application>
64    <instrumentation
65        android:name="androidx.test.runner.AndroidJUnitRunner"
66        android:targetPackage="android.security.cts.CVE_2020_0338" />
67</manifest>
68