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

Commit c041a1eb authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge remote-tracking branch 'origin/lineage-21.0' into v1-u

parents 68e967ba 5b49c1fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -301,7 +301,7 @@ public abstract class BaseSetupWizardActivity extends AppCompatActivity implemen

    protected final boolean tryEnablingWifi() {
        WifiManager wifiManager = getSystemService(WifiManager.class);
        return wifiManager.setWifiEnabled(true);
        return wifiManager != null && wifiManager.setWifiEnabled(true);
    }

    private boolean isFirstRun() {