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 <uses-permission android:name="android.permission.DEVICE_POWER" /> 57 <uses-permission android:name="android.permission.USER_ACTIVITY" /> 58 59 <application android:name=".NfcApplication" 60 android:icon="@drawable/icon" 61 android:label="@string/app_name" 62 android:theme="@android:style/Theme.Material.Light" 63 android:persistent="true" 64 android:backupAgent="com.android.nfc.NfcBackupAgent" 65 android:killAfterRestore="false" 66 android:usesCleartextTraffic="false" 67 > 68 <meta-data android:name="com.google.android.backup.api_key" 69 android:value="AEdPqrEAAAAIbiKKs0wlimxeJ9y8iRIaBOH6aeb2IurmZyBHvg" /> 70 71 <activity android:name=".TechListChooserActivity" 72 android:theme="@*android:style/Theme.Dialog.Alert" 73 android:finishOnCloseSystemDialogs="true" 74 android:excludeFromRecents="true" 75 android:multiprocess="true" 76 /> 77 78 <activity android:name=".cardemulation.AppChooserActivity" 79 android:finishOnCloseSystemDialogs="true" 80 android:excludeFromRecents="true" 81 android:clearTaskOnLaunch="true" 82 android:multiprocess="true" 83 /> 84 85 <activity android:name=".cardemulation.DefaultRemovedActivity" 86 android:theme="@*android:style/Theme.Material.Dialog.Alert" 87 android:finishOnCloseSystemDialogs="true" 88 android:excludeFromRecents="true" 89 android:clearTaskOnLaunch="true" 90 android:multiprocess="true" 91 /> 92 93 <activity android:name=".cardemulation.TapAgainDialog" 94 android:finishOnCloseSystemDialogs="true" 95 android:excludeFromRecents="true" 96 android:clearTaskOnLaunch="true" 97 android:multiprocess="true" 98 /> 99 <activity android:name=".NfcRootActivity" 100 android:theme="@*android:style/Theme.Translucent.NoTitleBar" 101 android:excludeFromRecents="true" 102 android:noHistory="true" 103 /> 104 <activity android:name=".handover.ConfirmConnectActivity" 105 android:finishOnCloseSystemDialogs="true" 106 android:excludeFromRecents="true" 107 android:theme="@android:style/Theme.Translucent.NoTitleBar" 108 android:noHistory="true" 109 /> 110 111 <activity android:name=".BeamShareActivity" 112 android:finishOnCloseSystemDialogs="true" 113 android:theme="@android:style/Theme.Translucent" 114 android:label="@string/android_beam" 115 android:noHistory="true" 116 android:excludeFromRecents="true"> 117 <intent-filter> 118 <action android:name="android.intent.action.SEND" /> 119 <category android:name="android.intent.category.DEFAULT" /> 120 <data android:mimeType="*/*" /> 121 </intent-filter> 122 <intent-filter> 123 <action android:name="android.intent.action.SEND_MULTIPLE" /> 124 <category android:name="android.intent.category.DEFAULT" /> 125 <data android:mimeType="*/*" /> 126 </intent-filter> 127 </activity> 128 <activity android:name=".ConfirmConnectToWifiNetworkActivity" 129 android:finishOnCloseSystemDialogs="true" 130 android:excludeFromRecents="true" 131 android:theme="@android:style/Theme.Translucent.NoTitleBar" 132 android:noHistory="true" 133 /> 134 135 <service android:name=".beam.BeamSendService" 136 android:process=":beam" 137 /> 138 <service android:name=".beam.BeamReceiveService" 139 android:process=":beam" 140 /> 141 142 <service android:name=".handover.PeripheralHandoverService" 143 /> 144 </application> 145 </manifest> 146