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

Commit 6e9ab275 authored by Alexandre Roux's avatar Alexandre Roux
Browse files

enable wifi location

Change-Id: I256e9b008850200b60154c83f1e32e93de45a967
parent 952e3e08
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import android.os.UserHandle;
import android.view.View;
import android.widget.CheckBox;
import android.widget.TextView;
import android.provider.Settings;

import org.lineageos.setupwizard.util.SetupWizardUtils;

@@ -51,6 +52,8 @@ public class LocationSettingsActivity extends BaseSetupWizardActivity {
                        new UserHandle(UserHandle.USER_CURRENT));
            mLocationAccess.setChecked(!mLocationAccess.isChecked());
        });
        Settings.Global.putInt(getContentResolver(),
                    Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE,1);
    }

    @Override