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

Commit 62d3407d authored by Neel Parekh's avatar Neel Parekh
Browse files

Minor change to use defined key rather than a string.

parent e304b9f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ public class WifiSettings extends PreferenceActivity implements WifiLayer.Callba
        //   * this ordering logic is in AccessPointPreference's compareTo
        mApCategory.setOrderingAsAdded(false);

        if (!getIntent().getBooleanExtra("only_access_points", false)) {
        if (!getIntent().getBooleanExtra(KEY_ONLY_ACCESS_POINTS, false)) {
            mWifiEnabled = (CheckBoxPreference) preferenceScreen.findPreference(KEY_WIFI_ENABLED);
            mWifiEnabler = new WifiEnabler(this, (WifiManager) getSystemService(WIFI_SERVICE),
                    mWifiEnabled);