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

Commit 8a7cd974 authored by Vinit Deshpande's avatar Vinit Deshpande
Browse files

Don't require CONNECTIVITY_INTERNAL check for protected broadcasts

This change removes requirement that sender has this permission for
protected broadcasts (since they can only come from framework)

Bug: 17409667

Change-Id: I3431c20a4ed28b3ba2bfc3cf53772e63a3424a2c
parent 1e7dbd45
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -98,8 +98,7 @@ public class AdvancedWifiSettings extends SettingsPreferenceFragment
    public void onResume() {
        super.onResume();
        initPreferences();
        getActivity().registerReceiver(mReceiver, mFilter,
                android.Manifest.permission.CHANGE_NETWORK_STATE, null);
        getActivity().registerReceiver(mReceiver, mFilter);
        refreshWifiInfo();
    }