Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 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 | |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame] | 17 | <manifest |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:tools="http://schemas.android.com/tools" |
| 20 | package="com.android.statementservice" |
| 21 | android:versionCode="1" |
| 22 | android:versionName="1.0"> |
Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 23 | |
Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.DOMAIN_VERIFICATION_AGENT"/> |
Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/> |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| 28 | <uses-permission android:name="android.permission.INTERNET"/> |
Christopher Tate | 4e9ec49 | 2020-02-26 13:10:05 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 31 | <uses-permission android:name="android.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION"/> |
Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 32 | |
| 33 | <application |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame] | 34 | android:label="@string/service_name" |
| 35 | android:allowBackup="false" |
| 36 | android:name=".StatementServiceApplication" |
| 37 | > |
Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 38 | |
| 39 | <receiver |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame] | 40 | android:name=".domain.BootCompletedReceiver" |
| 41 | android:exported="true"> |
| 42 | <intent-filter> |
| 43 | <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 44 | </intent-filter> |
| 45 | </receiver> |
| 46 | |
| 47 | <receiver |
| 48 | android:name=".domain.DomainVerificationReceiverV1" |
| 49 | android:permission="android.permission.BIND_INTENT_FILTER_VERIFIER" |
| 50 | android:exported="true" |
| 51 | > |
| 52 | <intent-filter android:priority="1"> |
Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 53 | <action android:name="android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION"/> |
| 54 | <data android:mimeType="application/vnd.android.package-archive"/> |
| 55 | </intent-filter> |
| 56 | </receiver> |
| 57 | |
Winson | 374e6d6 | 2020-12-17 14:18:41 -0800 | [diff] [blame] | 58 | <!-- |
| 59 | v2 receiver remains disabled assuming the device ships its own updated version. |
| 60 | If necessary, this can be enabled using shell. |
| 61 | --> |
| 62 | <receiver |
| 63 | android:name=".domain.DomainVerificationReceiverV2" |
| 64 | android:permission="android.permission.BIND_DOMAIN_VERIFICATION_AGENT" |
| 65 | android:directBootAware="true" |
| 66 | android:exported="true" |
| 67 | android:enabled="false" |
| 68 | > |
| 69 | <intent-filter android:priority="1"> |
| 70 | <action android:name="android.intent.action.DOMAINS_NEED_VERIFICATION"/> |
| 71 | </intent-filter> |
| 72 | </receiver> |
Joseph Wen | 6a34bb2 | 2015-02-25 14:00:39 -0500 | [diff] [blame] | 73 | </application> |
| 74 | |
| 75 | </manifest> |