1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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<manifest xmlns:android="http://schemas.android.com/apk/res/android"
17        package="com.android.nfc"
18        android:sharedUserId="android.uid.nfc"
19        android:sharedUserLabel="@string/nfcUserLabel"
20>
21    <uses-permission android:name="android.permission.BLUETOOTH" />
22    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
23    <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
24    <uses-permission android:name="android.permission.NFC" />
25    <uses-permission android:name="android.permission.NFC_UNLOCK" />
26    <uses-permission android:name="android.permission.BIND_NFC_SERVICE" />
27    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
28    <uses-permission android:name="android.permission.STATUS_BAR" />
29    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
30    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
31    <uses-permission android:name="android.permission.WAKE_LOCK" />
32    <uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
33    <uses-permission android:name="android.permission.MASTER_CLEAR" />
34    <uses-permission android:name="android.permission.REAL_GET_TASKS" />
35    <uses-permission android:name="android.permission.READ_PROFILE" />
36    <uses-permission android:name="android.permission.READ_CONTACTS" />
37    <uses-permission android:name="android.permission.READ_FRAME_BUFFER" />
38    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
39    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
40    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
41    <uses-permission android:name="android.permission.VIBRATE" />
42    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
43    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
44    <uses-permission android:name="android.permission.INTERNET" />
45    <uses-permission android:name="android.permission.MANAGE_USERS" />
46    <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" />
47    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
48    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
49    <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" />
50    <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" />
51    <uses-permission android:name="android.permission.NFC_HANDOVER_STATUS" />
52    <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
53    <uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" />
54    <uses-permission android:name="android.permission.DISPATCH_NFC_MESSAGE" />
55    <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
56    <application android:name=".NfcApplication"
57                 android:icon="@drawable/icon"
58                 android:label="@string/app_name"
59                 android:theme="@android:style/Theme.Material.Light"
60                 android:persistent="true"
61                 android:backupAgent="com.android.nfc.NfcBackupAgent"
62                 android:killAfterRestore="false"
63                 android:usesCleartextTraffic="false"
64    >
65        <meta-data android:name="com.google.android.backup.api_key"
66            android:value="AEdPqrEAAAAIbiKKs0wlimxeJ9y8iRIaBOH6aeb2IurmZyBHvg" />
67
68        <activity android:name=".TechListChooserActivity"
69            android:theme="@*android:style/Theme.Dialog.Alert"
70            android:finishOnCloseSystemDialogs="true"
71            android:excludeFromRecents="true"
72            android:multiprocess="true"
73        />
74
75        <activity android:name=".cardemulation.AppChooserActivity"
76            android:finishOnCloseSystemDialogs="true"
77            android:excludeFromRecents="true"
78            android:clearTaskOnLaunch="true"
79            android:multiprocess="true"
80        />
81
82        <activity android:name=".cardemulation.DefaultRemovedActivity"
83            android:theme="@*android:style/Theme.Material.Dialog.Alert"
84            android:finishOnCloseSystemDialogs="true"
85            android:excludeFromRecents="true"
86            android:clearTaskOnLaunch="true"
87            android:multiprocess="true"
88        />
89
90        <activity android:name=".cardemulation.TapAgainDialog"
91            android:finishOnCloseSystemDialogs="true"
92            android:excludeFromRecents="true"
93            android:clearTaskOnLaunch="true"
94            android:multiprocess="true"
95        />
96        <activity android:name=".NfcRootActivity"
97            android:theme="@*android:style/Theme.Translucent.NoTitleBar"
98            android:excludeFromRecents="true"
99            android:noHistory="true"
100        />
101        <activity android:name=".handover.ConfirmConnectActivity"
102            android:finishOnCloseSystemDialogs="true"
103            android:excludeFromRecents="true"
104            android:theme="@android:style/Theme.Translucent.NoTitleBar"
105            android:noHistory="true"
106        />
107
108        <activity android:name=".BeamShareActivity"
109            android:finishOnCloseSystemDialogs="true"
110            android:theme="@android:style/Theme.Translucent"
111            android:label="@string/android_beam"
112            android:noHistory="true"
113            android:excludeFromRecents="true">
114            <intent-filter>
115                <action android:name="android.intent.action.SEND" />
116                <category android:name="android.intent.category.DEFAULT" />
117                <data android:mimeType="*/*" />
118            </intent-filter>
119            <intent-filter>
120                <action android:name="android.intent.action.SEND_MULTIPLE" />
121                <category android:name="android.intent.category.DEFAULT" />
122                <data android:mimeType="*/*" />
123            </intent-filter>
124        </activity>
125        <activity android:name=".ConfirmConnectToWifiNetworkActivity"
126            android:finishOnCloseSystemDialogs="true"
127            android:excludeFromRecents="true"
128            android:theme="@android:style/Theme.Translucent.NoTitleBar"
129            android:noHistory="true"
130        />
131
132        <service android:name=".beam.BeamSendService"
133            android:process=":beam"
134        />
135        <service android:name=".beam.BeamReceiveService"
136            android:process=":beam"
137        />
138
139        <service android:name=".handover.PeripheralHandoverService"
140        />
141    </application>
142</manifest>
143