1<?xml version="1.0" encoding="utf-8"?><!--
2  ~ Copyright (C) 2024 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.google.snippet.ranging">
19
20    <application>
21        <!-- Add any classes that implement the Snippet interface as meta-data, whose
22             value is a comma-separated string, each section being the package path
23             of a snippet class -->
24        <meta-data
25            android:name="mobly-snippets"
26            android:value="com.google.snippet.ranging.RangingSnippet" />
27        <meta-data
28            android:name="mobly-object-converter"
29            android:value="com.google.snippet.ranging.RangingPreferenceConverter" />
30    </application>
31    <instrumentation
32        android:name="com.google.android.mobly.snippet.SnippetRunner"
33        android:targetPackage="com.google.snippet.ranging" />
34
35    <uses-permission android:name="android.permissions.UWB_PRIVILEGED" />
36    <!-- Add an instrumentation tag so that the app can be launched through an
37         instrument command. The runner `com.google.android.mobly.snippet.SnippetRunner`
38         is derived from `AndroidJUnitRunner`, and is required to use the
39         Mobly Snippet Lib. -->
40    <uses-permission android:name="android.permission.UWB_RANGING" />
41    <uses-permission android:name="android.permission.RANGING" />
42</manifest>
43