1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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.statementservice"
19        android:versionCode="1"
20        android:versionName="1.0">
21
22    <uses-permission android:name="android.permission.INTERNET"/>
23    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
24    <uses-permission android:name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/>
25
26    <application
27            android:label="@string/service_name"
28            android:allowBackup="false">
29        <uses-library android:name="org.apache.http.legacy" />
30        <service
31                android:name=".DirectStatementService"
32                android:exported="false">
33            <intent-filter>
34                <category android:name="android.intent.category.DEFAULT"/>
35                <action android:name="com.android.statementservice.aosp.service.CHECK_ACTION"/>
36            </intent-filter>
37        </service>
38
39        <receiver
40                android:name=".IntentFilterVerificationReceiver"
41                android:permission="android.permission.BIND_INTENT_FILTER_VERIFIER">
42            <!-- Set the priority 1 so newer implementation can have higher priority. -->
43            <intent-filter
44                    android:priority="1">
45                <action android:name="android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION"/>
46                <data android:mimeType="application/vnd.android.package-archive"/>
47            </intent-filter>
48        </receiver>
49
50    </application>
51
52</manifest>
53