[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
This commit is contained in:
govenliu
2020-01-31 12:53:30 +08:00
parent 56743aa5cc
commit 66dd758299

View File

@@ -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" />