|
|
@ -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();
|
|
|
|