[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
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4f0ba58..ac1e440 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">
<intent-filter>
<action android:name="android.settings.WIFI_ADD_NETWORKS" />
<category android:name="android.intent.category.DEFAULT" />