summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2015-09-23 09:28:11 +0200
committerMartijn Coenen <maco@google.com>2015-09-23 09:28:11 +0200
commit8415fed4f7544099cb42d48157df6a63594c0007 (patch)
tree3957896f06c7b0514568ca7a770c8ffb3ccbbbfd
parentaa7adaeb42f3c19e3ba6b8a82fed138dcbaab133 (diff)
downloadNfc-8415fed4f7544099cb42d48157df6a63594c0007.tar.gz
Grant WiFi override permission to NFC process.
The NFC process can create and modify WiFi network configurations based on data read from NFC tags. Starting with M, processes modifying WiFi configurations they did not create need a new permission. Bug: 23092392 Change-Id: I342815873153138e6317b79d23e1235e6c92c964
-rwxr-xr-xAndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9941c53e..eea72fd4 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -52,6 +52,7 @@
<uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
<uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" />
<uses-permission android:name="android.permission.DISPATCH_NFC_MESSAGE" />
+ <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG" />
<application android:name=".NfcApplication"
android:icon="@drawable/icon"
android:label="@string/app_name"