blob: 42885e8193a7273597ae4ca8ee0c9ce4fcc97001 [file] [log] [blame]
Eugene Susla6ed45d82017-01-22 13:52:51 -08001<?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"/>
Calvin On28a74fc2018-12-20 13:57:04 -080028 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
Calvin On5eda9dd2018-12-12 15:43:28 -080029 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
Eugene Susla36e866b2017-02-23 18:24:39 -080030 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
31 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
Eugene Susla6ed45d82017-01-22 13:52:51 -080032
33 <application
34 android:allowClearUserData="true"
35 android:label="@string/app_label"
36 android:allowBackup="false"
37 android:supportsRtl="true">
38
39 <service
40 android:name=".DeviceDiscoveryService"
41 android:permission="android.permission.BIND_COMPANION_DEVICE_MANAGER_SERVICE"
42 android:exported="true">
43 </service>
44
45 <activity
46 android:name=".DeviceChooserActivity"
Eugene Suslad44f9332017-02-06 13:43:30 -080047 android:theme="@style/ChooserActivity"
Eugene Susla6ed45d82017-01-22 13:52:51 -080048 android:permission="android.permission.BIND_COMPANION_DEVICE_MANAGER_SERVICE">
49 <!--TODO include url scheme filter similar to PrintSpooler -->
50 <intent-filter>
51 <action android:name="android.companiondevice.START_DISCOVERY" />
52 <category android:name="android.intent.category.DEFAULT" />
53 </intent-filter>
54 </activity>
55
56 </application>
57
58</manifest>