1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4 * Copyright (c) 2017 Google Inc.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
20    package="com.android.companiondevicemanager">
21
22    <permission
23        android:name="com.android.companiondevicemanager.permission.BIND"
24        android:protectionLevel="signature" />
25
26    <uses-permission android:name="android.permission.BLUETOOTH"/>
27    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
28    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
29    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
30    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
31
32    <application
33        android:allowClearUserData="true"
34        android:label="@string/app_label"
35        android:allowBackup="false"
36        android:supportsRtl="true">
37
38        <service
39            android:name=".DeviceDiscoveryService"
40            android:permission="android.permission.BIND_COMPANION_DEVICE_MANAGER_SERVICE"
41            android:exported="true">
42        </service>
43
44        <activity
45            android:name=".DeviceChooserActivity"
46            android:theme="@style/ChooserActivity"
47            android:permission="android.permission.BIND_COMPANION_DEVICE_MANAGER_SERVICE">
48            <!--TODO include url scheme filter similar to PrintSpooler -->
49            <intent-filter>
50                <action android:name="android.companiondevice.START_DISCOVERY" />
51                <category android:name="android.intent.category.DEFAULT" />
52            </intent-filter>
53        </activity>
54
55    </application>
56
57</manifest>
58