1*d57664e9SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*d57664e9SAndroid Build Coastguard Worker<!-- Copyright (C) 2015 The Android Open Source Project 3*d57664e9SAndroid Build Coastguard Worker 4*d57664e9SAndroid Build Coastguard Worker Licensed under the Apache License, Version 2.0 (the "License"); 5*d57664e9SAndroid Build Coastguard Worker you may not use this file except in compliance with the License. 6*d57664e9SAndroid Build Coastguard Worker You may obtain a copy of the License at 7*d57664e9SAndroid Build Coastguard Worker 8*d57664e9SAndroid Build Coastguard Worker http://www.apache.org/licenses/LICENSE-2.0 9*d57664e9SAndroid Build Coastguard Worker 10*d57664e9SAndroid Build Coastguard Worker Unless required by applicable law or agreed to in writing, software 11*d57664e9SAndroid Build Coastguard Worker distributed under the License is distributed on an "AS IS" BASIS, 12*d57664e9SAndroid Build Coastguard Worker WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13*d57664e9SAndroid Build Coastguard Worker See the License for the specific language governing permissions and 14*d57664e9SAndroid Build Coastguard Worker limitations under the License. 15*d57664e9SAndroid Build Coastguard Worker--> 16*d57664e9SAndroid Build Coastguard Worker 17*d57664e9SAndroid Build Coastguard Worker<manifest 18*d57664e9SAndroid Build Coastguard Worker xmlns:android="http://schemas.android.com/apk/res/android" 19*d57664e9SAndroid Build Coastguard Worker xmlns:tools="http://schemas.android.com/tools" 20*d57664e9SAndroid Build Coastguard Worker package="com.android.statementservice" 21*d57664e9SAndroid Build Coastguard Worker android:versionCode="1" 22*d57664e9SAndroid Build Coastguard Worker android:versionName="1.0"> 23*d57664e9SAndroid Build Coastguard Worker 24*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 25*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.DOMAIN_VERIFICATION_AGENT"/> 26*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.INTENT_FILTER_VERIFICATION_AGENT"/> 27*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> 28*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.INTERNET"/> 29*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> 30*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 31*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.UPDATE_DOMAIN_VERIFICATION_USER_SELECTION"/> 32*d57664e9SAndroid Build Coastguard Worker 33*d57664e9SAndroid Build Coastguard Worker <application 34*d57664e9SAndroid Build Coastguard Worker android:label="@string/service_name" 35*d57664e9SAndroid Build Coastguard Worker android:allowBackup="false" 36*d57664e9SAndroid Build Coastguard Worker android:name=".StatementServiceApplication" 37*d57664e9SAndroid Build Coastguard Worker > 38*d57664e9SAndroid Build Coastguard Worker 39*d57664e9SAndroid Build Coastguard Worker <receiver 40*d57664e9SAndroid Build Coastguard Worker android:name=".domain.BootCompletedReceiver" 41*d57664e9SAndroid Build Coastguard Worker android:exported="true"> 42*d57664e9SAndroid Build Coastguard Worker <intent-filter> 43*d57664e9SAndroid Build Coastguard Worker <action android:name="android.intent.action.BOOT_COMPLETED"/> 44*d57664e9SAndroid Build Coastguard Worker </intent-filter> 45*d57664e9SAndroid Build Coastguard Worker </receiver> 46*d57664e9SAndroid Build Coastguard Worker 47*d57664e9SAndroid Build Coastguard Worker <receiver 48*d57664e9SAndroid Build Coastguard Worker android:name=".domain.DomainVerificationReceiverV1" 49*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_INTENT_FILTER_VERIFIER" 50*d57664e9SAndroid Build Coastguard Worker android:exported="true" 51*d57664e9SAndroid Build Coastguard Worker > 52*d57664e9SAndroid Build Coastguard Worker <intent-filter android:priority="1"> 53*d57664e9SAndroid Build Coastguard Worker <action android:name="android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION"/> 54*d57664e9SAndroid Build Coastguard Worker <data android:mimeType="application/vnd.android.package-archive"/> 55*d57664e9SAndroid Build Coastguard Worker </intent-filter> 56*d57664e9SAndroid Build Coastguard Worker </receiver> 57*d57664e9SAndroid Build Coastguard Worker 58*d57664e9SAndroid Build Coastguard Worker <!-- 59*d57664e9SAndroid Build Coastguard Worker v2 receiver remains disabled assuming the device ships its own updated version. 60*d57664e9SAndroid Build Coastguard Worker If necessary, this can be enabled using shell. 61*d57664e9SAndroid Build Coastguard Worker --> 62*d57664e9SAndroid Build Coastguard Worker <receiver 63*d57664e9SAndroid Build Coastguard Worker android:name=".domain.DomainVerificationReceiverV2" 64*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_DOMAIN_VERIFICATION_AGENT" 65*d57664e9SAndroid Build Coastguard Worker android:directBootAware="true" 66*d57664e9SAndroid Build Coastguard Worker android:exported="true" 67*d57664e9SAndroid Build Coastguard Worker android:enabled="false" 68*d57664e9SAndroid Build Coastguard Worker > 69*d57664e9SAndroid Build Coastguard Worker <intent-filter android:priority="1"> 70*d57664e9SAndroid Build Coastguard Worker <action android:name="android.intent.action.DOMAINS_NEED_VERIFICATION"/> 71*d57664e9SAndroid Build Coastguard Worker </intent-filter> 72*d57664e9SAndroid Build Coastguard Worker </receiver> 73*d57664e9SAndroid Build Coastguard Worker </application> 74*d57664e9SAndroid Build Coastguard Worker 75*d57664e9SAndroid Build Coastguard Worker</manifest> 76