From 66dd758299587a84b5b73fda1322685c4513c25f Mon Sep 17 00:00:00 2001 From: govenliu Date: Fri, 31 Jan 2020 12:53:30 +0800 Subject: [PATCH] [Wi-Fi] Settings panel WIFI_ADD_NETWORKS requires CHANGE_WIFI_STATE permission Since we had dialog to get the approval from user about adding or updating networks, don't need to have permission to limit suggester APP. Bug: 148491787 Test: NA, just remove the permission check in Androidmanifest. Change-Id: If9023e5c2d69b6393f04e16285ac60017b9bf519 --- AndroidManifest.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4f0ba58c386..ac1e440fce9 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -3159,8 +3159,7 @@ android:theme="@style/Theme.Panel" android:launchMode="singleInstance" android:excludeFromRecents="true" - android:configChanges="orientation|keyboardHidden|screenSize" - android:permission="android.permission.CHANGE_WIFI_STATE"> + android:configChanges="orientation|keyboardHidden|screenSize">