• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2024 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<!-- NOTE: The shared UID is left in for legacy reasons, and can be safely
19     removed once T is the oldest supported device. It has no impact on T+
20     devices.
21-->
22<manifest xmlns:android="http://schemas.android.com/apk/res/android"
23          package="com.android.nfc.reader">
24    <uses-sdk android:minSdkVersion="35" android:targetSdkVersion="35"/>
25    <uses-permission android:name="android.permission.INTERNET" />
26    <uses-permission android:name="android.permission.NFC" />
27    <uses-permission android:name="android.permission.NFC_TRANSACTION_EVENT" />
28    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
29
30    <application>
31        <!-- Add any classes that implement the Snippet interface as meta-data, whose
32         value is a comma-separated string, each section being the package path
33         of a snippet class -->
34        <meta-data
35            android:name="mobly-snippets"
36            android:value="com.android.nfc.reader.NfcReaderDeviceSnippet"/>
37        <activity
38            android:name=".SimpleReaderActivity"
39            android:label="Simple Reader"
40            android:exported="true">
41        </activity>
42        <activity
43            android:name=".ProtocolParamsReaderActivity"
44            android:label="Protocol Params Reader"
45            android:exported="true">
46        </activity>
47    </application>
48
49    <instrumentation android:name="com.google.android.mobly.snippet.SnippetRunner"
50                     android:targetPackage="com.android.nfc.reader"
51                     android:label="NFC Multi Device Reader Snippet" />
52</manifest>
53