Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66dd7582 authored by govenliu's avatar govenliu
Browse files

[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
parent 56743aa5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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" />