1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2022 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<manifest
19    xmlns:android="http://schemas.android.com/apk/res/android"
20    package="android.companion.multidevices">
21
22  <uses-permission android:name="android.permission.INTERNET" />
23  <uses-permission android:name="android.permission.REQUEST_COMPANION_SELF_MANAGED" />
24  <uses-permission android:name="android.permission.REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE" />
25  <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_WATCH" />
26  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
27  <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
28  <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
29  <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
30  <uses-permission android:name="android.permission.DELIVER_COMPANION_MESSAGES" />
31
32  <uses-feature android:name="android.hardware.bluetooth" android:required="true"/>
33  <uses-feature android:name="android.software.companion_device_setup" />
34
35  <application>
36    <!-- Add any classes that implement the Snippet interface as meta-data, whose
37         value is a comma-separated string, each section being the package path
38         of a snippet class -->
39    <meta-data
40        android:name="mobly-snippets"
41        android:value="android.companion.multidevices.CompanionDeviceManagerSnippet" />
42  </application>
43
44  <!-- Add an instrumentation tag so that the app can be launched through an
45       instrument command. The runner `com.google.android.mobly.snippet.SnippetRunner`
46       is derived from `AndroidJUnitRunner`, and is required to use the
47       Mobly Snippet Lib. -->
48  <instrumentation
49      android:name="com.google.android.mobly.snippet.SnippetRunner"
50      android:targetPackage="android.companion.multidevices" />
51</manifest>
52