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 | |
| 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 | <service |
| 30 | android:name=".DirectStatementService" |
| 31 | android:exported="false"> |
| 32 | <intent-filter> |
| 33 | <category android:name="android.intent.category.DEFAULT"/> |
| 34 | <action android:name="com.android.statementservice.aosp.service.CHECK_ACTION"/> |
| 35 | </intent-filter> |
| 36 | </service> |
| 37 | |
| 38 | <receiver |
| 39 | android:name=".IntentFilterVerificationReceiver" |
| 40 | android:permission="android.permission.BIND_INTENT_FILTER_VERIFIER"> |
| 41 | <!-- Set the priority 1 so newer implementation can have higher priority. --> |
| 42 | <intent-filter |
| 43 | android:priority="1"> |
| 44 | <action android:name="android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION"/> |
| 45 | <data android:mimeType="application/vnd.android.package-archive"/> |
| 46 | </intent-filter> |
| 47 | </receiver> |
| 48 | |
| 49 | </application> |
| 50 | |
| 51 | </manifest> |