diff options
author | Roshan Pius <rpius@google.com> | 2023-12-15 10:06:38 -0800 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2023-12-15 18:16:11 +0000 |
commit | 082b9e5d539d0677473eef404a609ad7f1df0750 (patch) | |
tree | 38637eee1ed7c4793b1a700fa5b4342732831946 /com.android.nfc.xml | |
parent | c2ce603cd3a0b716bc4e130fea2895482533ef32 (diff) | |
download | Nfc-082b9e5d539d0677473eef404a609ad7f1df0750.tar.gz |
nfc(app): Add priv_app_allowlist for NFC
In preparation of unbundling the NFC module.
Bug: 303286040
Test: Device boots up after flashing
Test: atest CtsNfcTestCases
Change-Id: Ic7834d74d875cd5fb3184734a0d487f915cf0ee9
Diffstat (limited to 'com.android.nfc.xml')
-rw-r--r-- | com.android.nfc.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/com.android.nfc.xml b/com.android.nfc.xml new file mode 100644 index 00000000..320d433e --- /dev/null +++ b/com.android.nfc.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2023 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> +<permissions> + <privapp-permissions package="com.android.nfc"> + <permission name="android.permission.MASTER_CLEAR"/> + <permission name="android.permission.STOP_APP_SWITCHES"/> + <permission name="android.permission.WRITE_SECURE_SETTINGS"/> + <permission name="android.permission.LOCAL_MAC_ADDRESS"/> + <permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/> + <permission name="android.permission.USER_ACTIVITY"/> + <permission name="android.permission.MANAGE_USERS"/> + <permission name="android.permission.PACKAGE_USAGE_STATS"/> + <permission name="android.permission.NFC_HANDOVER_STATUS"/> + <permission name="android.permission.BLUETOOTH_PRIVILEGED"/> + <permission name="android.permission.REAL_GET_TASKS"/> + <permission name="android.permission.STATUS_BAR"/> + <permission name="android.permission.DISPATCH_NFC_MESSAGE"/> + <permission name="android.permission.NFC_SET_CONTROLLER_ALWAYS_ON"/> + <permission name="android.permission.OVERRIDE_WIFI_CONFIG"/> + </privapp-permissions> +</permissions> |