Enable RLAH by default

This commit is contained in:
M66B 2019-05-10 20:59:27 +02:00
parent 1fbc2e00c8
commit 133b416b19
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ public class FragmentOptionsConnection extends FragmentBase implements SharedPre
break;
}
swRlah.setChecked(prefs.getBoolean("rlah", false));
swRlah.setChecked(prefs.getBoolean("rlah", true));
swRoaming.setChecked(prefs.getBoolean("roaming", true));
}

View File

@ -866,7 +866,7 @@ public class Helper {
static NetworkState getNetworkState(Context context) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean metered = prefs.getBoolean("metered", true);
boolean rlah = prefs.getBoolean("rlah", false);
boolean rlah = prefs.getBoolean("rlah", true);
boolean roaming = prefs.getBoolean("roaming", true);
NetworkState state = new NetworkState();