summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/WirelessSettings.java
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-09-01 08:45:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-01 08:45:09 -0700
commit7edbc609fdccff3367b119da46ff1adbe4477d10 (patch)
tree179821623c41e6d118883dd87601909921f3d491 /src/com/android/settings/WirelessSettings.java
parent7fe1435b5e6c1de4b5ad5852c11ecb42c433ddd2 (diff)
parent8af88fb8387259e51615709b2d1ea0260f7057fd (diff)
downloadpackages_apps_Settings-7edbc609fdccff3367b119da46ff1adbe4477d10.tar.gz
packages_apps_Settings-7edbc609fdccff3367b119da46ff1adbe4477d10.tar.bz2
packages_apps_Settings-7edbc609fdccff3367b119da46ff1adbe4477d10.zip
Merge "Use the new isNetworkSupported api for wifi-only"
Diffstat (limited to 'src/com/android/settings/WirelessSettings.java')
-rw-r--r--src/com/android/settings/WirelessSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/WirelessSettings.java b/src/com/android/settings/WirelessSettings.java
index 14ec06b6c..c6f14a174 100644
--- a/src/com/android/settings/WirelessSettings.java
+++ b/src/com/android/settings/WirelessSettings.java
@@ -135,7 +135,7 @@ public class WirelessSettings extends SettingsPreferenceFragment {
}
// Remove Mobile Network Settings if it's a wifi-only device.
- if (Utils.isWifiOnly()) {
+ if (Utils.isWifiOnly(getActivity())) {
getPreferenceScreen().removePreference(findPreference(KEY_MOBILE_NETWORK_SETTINGS));
}