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

Commit a0d95779 authored by Alexandre Roux's avatar Alexandre Roux Committed by Nishith Khanna
Browse files

SetupWizard: Enable wifi location



Change-Id: I256e9b008850200b60154c83f1e32e93de45a967
Signed-off-by: Aayush Gupta's avatarAayush Gupta <theimpulson@e.email>
parent 086e7c09
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2016 The CyanogenMod Project
 * SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
 * SPDX-FileCopyrightText: 2018-2024 E FOUNDATION
 * SPDX-License-Identifier: Apache-2.0
 */

@@ -13,6 +14,7 @@ import android.os.UserManager;
import android.provider.Settings;
import android.view.View;
import android.widget.CheckBox;
import android.provider.Settings;

public class LocationSettingsActivity extends BaseSetupWizardActivity {

@@ -42,6 +44,8 @@ public class LocationSettingsActivity extends BaseSetupWizardActivity {
        } else {
            locationAgpsAccessView.setVisibility(View.GONE);
        }
        Settings.Global.putInt(getContentResolver(),
                    Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE,1);
    }

    @Override