nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 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 | --> |
Yerriswamy | 06e4227 | 2018-03-27 18:07:27 +0530 | [diff] [blame] | 16 | <!-- The original Work has been changed by NXP Semiconductors. |
| 17 | |
| 18 | Copyright 2018 NXP |
| 19 | |
| 20 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 21 | you may not use this file except in compliance with the License. |
| 22 | You may obtain a copy of the License at |
| 23 | |
| 24 | http://www.apache.org/licenses/LICENSE-2.0 |
| 25 | |
| 26 | Unless required by applicable law or agreed to in writing, software |
| 27 | distributed under the License is distributed on an "AS IS" BASIS, |
| 28 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 29 | See the License for the specific language governing permissions and |
| 30 | limitations under the License. |
| 31 | --> |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 32 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 33 | package="com.android.nfc" |
| 34 | android:sharedUserId="android.uid.nfc" |
| 35 | android:sharedUserLabel="@string/nfcUserLabel" |
| 36 | > |
| 37 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
| 38 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> |
| 39 | <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" /> |
| 40 | <uses-permission android:name="android.permission.NFC" /> |
| 41 | <uses-permission android:name="android.permission.NFC_UNLOCK" /> |
| 42 | <uses-permission android:name="android.permission.BIND_NFC_SERVICE" /> |
| 43 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 44 | <uses-permission android:name="android.permission.STATUS_BAR" /> |
| 45 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 46 | <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| 47 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 48 | <uses-permission android:name="android.permission.STOP_APP_SWITCHES" /> |
| 49 | <uses-permission android:name="android.permission.MASTER_CLEAR" /> |
| 50 | <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
| 51 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
| 52 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 53 | <uses-permission android:name="android.permission.READ_FRAME_BUFFER" /> |
| 54 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
| 55 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 56 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
| 57 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 58 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 59 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 60 | <uses-permission android:name="android.permission.INTERNET" /> |
| 61 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| 62 | <uses-permission android:name="android.permission.INTERNAL_SYSTEM_WINDOW" /> |
| 63 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
| 64 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 65 | <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" /> |
| 66 | <uses-permission android:name="android.permission.CONNECTIVITY_INTERNAL" /> |
| 67 | <uses-permission android:name="android.permission.NFC_HANDOVER_STATUS" /> |
nxpandroid | 1153eb3 | 2015-11-06 18:46:58 +0530 | [diff] [blame] | 68 | <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" /> |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 69 | <uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" /> |
nxpandroid | 1153eb3 | 2015-11-06 18:46:58 +0530 | [diff] [blame] | 70 | <uses-permission android:name="android.permission.DISPATCH_NFC_MESSAGE" /> |
nxpandroid | 34627bd | 2016-05-27 15:52:30 +0530 | [diff] [blame] | 71 | <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" /> |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 72 | <uses-permission android:name="android.permission.DEVICE_POWER" /> |
Nikhil Chhabra | fc8f3f6 | 2018-01-08 20:48:49 +0530 | [diff] [blame] | 73 | <uses-permission android:name="android.permission.ACCESS_VR_MANAGER"/> |
nxpandroid | 7d44e57 | 2016-08-01 19:11:04 +0530 | [diff] [blame] | 74 | <uses-permission android:name="android.permission.USER_ACTIVITY" /> |
Shashank vimal | 8377908 | 2018-02-06 18:10:31 +0530 | [diff] [blame] | 75 | <uses-permission android:name="android.permission.SEND_RECEIVE_STK_INTENT" /> |
nxpandroid | 03966e8 | 2017-09-14 11:52:03 +0530 | [diff] [blame] | 76 | <uses-permission android:name="android.permission.BIND_RESOLVER_RANKER_SERVICE" /> |
nxpandroid | ebf53fb | 2016-12-22 18:48:59 +0530 | [diff] [blame] | 77 | <protected-broadcast android:name="com.nxp.action.TRANSACTION_DETECTED" /> |
| 78 | <protected-broadcast android:name="com.gsma.services.nfc.action.TRANSACTION_EVENT" /> |
Yerriswamy | 06e4227 | 2018-03-27 18:07:27 +0530 | [diff] [blame] | 79 | <protected-broadcast android:name="com.nxp.nfc_extras.action.NFC_MPOS_READER_MODE_RESTART" /> |
| 80 | <protected-broadcast android:name="com.nxp.nfc_extras.action.NFC_MPOS_READER_MODE_TIMEOUT" /> |
| 81 | <protected-broadcast android:name="com.nxp.nfc_extras.action.NFC_MPOS_READER_MODE_REMOVE_CARD" /> |
| 82 | <protected-broadcast android:name="com.nxp.nfc_extras.action.NFC_MPOS_READER_MODE_STOP_SUCCESS" /> |
| 83 | <protected-broadcast android:name="com.nxp.nfc_extras.action.NFC_MPOS_READER_MODE_START_FAIL" /> |
| 84 | <protected-broadcast android:name="com.nxp.nfc_extras.action.NFC_MPOS_READER_MODE_START_SUCCESS" /> |
nxpandroid | a9a68ba | 2016-01-14 21:12:17 +0530 | [diff] [blame] | 85 | <permission-group android:name ="com.gsma.services.nfc.permission" |
| 86 | android:label ="@string/permgrouplab_NFC" |
| 87 | android:description="@string/permgroupdesc_NFC" |
| 88 | android:priority="270" /> |
| 89 | <permission android:name="com.gsma.services.nfc.permission.TRANSACTION_EVENT" |
| 90 | android:permissionGroup = "com.gsma.services.nfc.permission" |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 91 | android:label= "@string/permlab_nfcReceiveEvent" |
| 92 | android:description = "@string/permdesc_nfcReceiveEvent" /> |
| 93 | |
| 94 | <application android:name=".NfcApplication" |
| 95 | android:icon="@drawable/icon" |
| 96 | android:label="@string/app_name" |
| 97 | android:theme="@android:style/Theme.Material.Light" |
| 98 | android:persistent="true" |
nxpandroid | e8bc17a | 2017-09-14 11:40:08 +0530 | [diff] [blame] | 99 | android:persistentWhenFeatureAvailable="android.hardware.nfc.any" |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 100 | android:backupAgent="com.android.nfc.NfcBackupAgent" |
| 101 | android:killAfterRestore="false" |
nxpandroid | 1153eb3 | 2015-11-06 18:46:58 +0530 | [diff] [blame] | 102 | android:usesCleartextTraffic="false" |
nxpandroid | 6fd9cdb | 2017-07-12 18:25:41 +0530 | [diff] [blame] | 103 | android:supportsRtl="true" |
Nikhil Chhabra | cdab991 | 2018-01-09 12:46:48 +0530 | [diff] [blame] | 104 | android:hardwareAccelerated="false" |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 105 | > |
| 106 | <meta-data android:name="com.google.android.backup.api_key" |
| 107 | android:value="AEdPqrEAAAAIbiKKs0wlimxeJ9y8iRIaBOH6aeb2IurmZyBHvg" /> |
| 108 | |
nxpandroid | 6fd9cdb | 2017-07-12 18:25:41 +0530 | [diff] [blame] | 109 | <provider android:name="android.support.v4.content.FileProvider" |
| 110 | android:authorities="com.google.android.nfc.fileprovider" |
| 111 | android:grantUriPermissions="true" |
| 112 | android:exported="false"> |
| 113 | <meta-data |
| 114 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 115 | android:resource="@xml/file_paths" /> |
| 116 | </provider> |
| 117 | |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 118 | <activity android:name=".TechListChooserActivity" |
| 119 | android:theme="@*android:style/Theme.Dialog.Alert" |
| 120 | android:finishOnCloseSystemDialogs="true" |
| 121 | android:excludeFromRecents="true" |
| 122 | android:multiprocess="true" |
| 123 | /> |
| 124 | |
| 125 | <activity android:name=".cardemulation.AppChooserActivity" |
| 126 | android:finishOnCloseSystemDialogs="true" |
| 127 | android:excludeFromRecents="true" |
| 128 | android:clearTaskOnLaunch="true" |
| 129 | android:multiprocess="true" |
| 130 | /> |
| 131 | |
| 132 | <activity android:name=".EnableNfcDialogActivity" |
| 133 | android:finishOnCloseSystemDialogs="true" |
| 134 | android:excludeFromRecents="true" |
| 135 | android:clearTaskOnLaunch="true" |
| 136 | android:multiprocess="true" |
| 137 | /> |
| 138 | |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 139 | <activity android:name=".cardemulation.TapAgainDialog" |
| 140 | android:finishOnCloseSystemDialogs="true" |
| 141 | android:excludeFromRecents="true" |
| 142 | android:clearTaskOnLaunch="true" |
| 143 | android:multiprocess="true" |
| 144 | /> |
| 145 | <activity android:name=".NfcRootActivity" |
| 146 | android:theme="@*android:style/Theme.Translucent.NoTitleBar" |
| 147 | android:excludeFromRecents="true" |
| 148 | android:noHistory="true" |
| 149 | /> |
| 150 | <activity android:name=".handover.ConfirmConnectActivity" |
| 151 | android:finishOnCloseSystemDialogs="true" |
| 152 | android:excludeFromRecents="true" |
| 153 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
| 154 | android:noHistory="true" |
nxpandroid | 6fd9cdb | 2017-07-12 18:25:41 +0530 | [diff] [blame] | 155 | android:configChanges="orientation|keyboardHidden|screenSize" |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 156 | /> |
| 157 | |
| 158 | <activity android:name=".BeamShareActivity" |
| 159 | android:finishOnCloseSystemDialogs="true" |
nxpandroid | 1153eb3 | 2015-11-06 18:46:58 +0530 | [diff] [blame] | 160 | android:theme="@android:style/Theme.Translucent" |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 161 | android:label="@string/android_beam" |
| 162 | android:noHistory="true" |
| 163 | android:excludeFromRecents="true"> |
| 164 | <intent-filter> |
| 165 | <action android:name="android.intent.action.SEND" /> |
| 166 | <category android:name="android.intent.category.DEFAULT" /> |
| 167 | <data android:mimeType="*/*" /> |
| 168 | </intent-filter> |
| 169 | <intent-filter> |
| 170 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| 171 | <category android:name="android.intent.category.DEFAULT" /> |
| 172 | <data android:mimeType="*/*" /> |
| 173 | </intent-filter> |
| 174 | </activity> |
| 175 | <activity android:name=".ConfirmConnectToWifiNetworkActivity" |
| 176 | android:finishOnCloseSystemDialogs="true" |
| 177 | android:excludeFromRecents="true" |
| 178 | android:theme="@android:style/Theme.Translucent.NoTitleBar" |
| 179 | android:noHistory="true" |
| 180 | /> |
| 181 | |
| 182 | <service android:name=".beam.BeamSendService" |
| 183 | android:process=":beam" |
| 184 | /> |
| 185 | <service android:name=".beam.BeamReceiveService" |
| 186 | android:process=":beam" |
| 187 | /> |
| 188 | |
Nikhil Chhabra | 9692dcb | 2018-01-08 21:41:29 +0530 | [diff] [blame] | 189 | <receiver android:name=".NfcBootCompletedReceiver"> |
| 190 | <intent-filter> |
| 191 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 192 | </intent-filter> |
| 193 | </receiver> |
| 194 | |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 195 | <service android:name=".handover.PeripheralHandoverService" |
| 196 | /> |
nxpandroid | 6fd9cdb | 2017-07-12 18:25:41 +0530 | [diff] [blame] | 197 | |
| 198 | <uses-library android:name="com.nxp.nfc" |
| 199 | android:required="true" |
| 200 | /> |
nxpandroid | 64fd68c | 2015-09-23 16:45:15 +0530 | [diff] [blame] | 201 | </application> |
| 202 | </manifest> |