Eugene Susla | 6ed45d8 | 2017-01-22 13:52:51 -0800 | [diff] [blame] | 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"/> |
Calvin On | 28a74fc | 2018-12-20 13:57:04 -0800 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
Calvin On | 5eda9dd | 2018-12-12 15:43:28 -0800 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/> |
Eugene Susla | 36e866b | 2017-02-23 18:24:39 -0800 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> |
| 31 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> |
Eugene Susla | 6ed45d8 | 2017-01-22 13:52:51 -0800 | [diff] [blame] | 32 | |
| 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 Susla | d44f933 | 2017-02-06 13:43:30 -0800 | [diff] [blame] | 47 | android:theme="@style/ChooserActivity" |
Eugene Susla | 6ed45d8 | 2017-01-22 13:52:51 -0800 | [diff] [blame] | 48 | 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> |