summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/SettingsActivity.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/settings/SettingsActivity.java b/src/com/android/settings/SettingsActivity.java
index c8c8ec7..28204b4 100644
--- a/src/com/android/settings/SettingsActivity.java
+++ b/src/com/android/settings/SettingsActivity.java
@@ -1265,6 +1265,10 @@ public class SettingsActivity extends Activity
if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_BLUETOOTH)) {
removeTile = true;
}
+ } else if (id == R.id.mobile_networks) {
+ if (!getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) {
+ removeTile = true;
+ }
} else if (id == R.id.data_usage_settings) {
// Remove data usage when kernel module not enabled
if (!Utils.isBandwidthControlEnabled()) {
@@ -1556,3 +1560,4 @@ public class SettingsActivity extends Activity
}
}
+