Merge "[Wi-Fi] Settings panel WIFI_ADD_NETWORKS requires CHANGE_WIFI_STATE permission"

This commit is contained in:
Goven Liu
2020-02-01 08:57:40 +00:00
committed by Android (Google) Code Review

View File

@@ -3159,8 +3159,7 @@
android:theme="@style/Theme.Panel" android:theme="@style/Theme.Panel"
android:launchMode="singleInstance" android:launchMode="singleInstance"
android:excludeFromRecents="true" android:excludeFromRecents="true"
android:configChanges="orientation|keyboardHidden|screenSize" android:configChanges="orientation|keyboardHidden|screenSize">
android:permission="android.permission.CHANGE_WIFI_STATE">
<intent-filter> <intent-filter>
<action android:name="android.settings.WIFI_ADD_NETWORKS" /> <action android:name="android.settings.WIFI_ADD_NETWORKS" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />