mirror of https://github.com/M66B/FairEmail.git
Enable RLAH by default
This commit is contained in:
parent
1fbc2e00c8
commit
133b416b19
|
@ -192,7 +192,7 @@ public class FragmentOptionsConnection extends FragmentBase implements SharedPre
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
swRlah.setChecked(prefs.getBoolean("rlah", false));
|
swRlah.setChecked(prefs.getBoolean("rlah", true));
|
||||||
swRoaming.setChecked(prefs.getBoolean("roaming", true));
|
swRoaming.setChecked(prefs.getBoolean("roaming", true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -866,7 +866,7 @@ public class Helper {
|
||||||
static NetworkState getNetworkState(Context context) {
|
static NetworkState getNetworkState(Context context) {
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
boolean metered = prefs.getBoolean("metered", true);
|
boolean metered = prefs.getBoolean("metered", true);
|
||||||
boolean rlah = prefs.getBoolean("rlah", false);
|
boolean rlah = prefs.getBoolean("rlah", true);
|
||||||
boolean roaming = prefs.getBoolean("roaming", true);
|
boolean roaming = prefs.getBoolean("roaming", true);
|
||||||
|
|
||||||
NetworkState state = new NetworkState();
|
NetworkState state = new NetworkState();
|
||||||
|
|
Loading…
Reference in New Issue