diff --git a/res/values/evolution_strings.xml b/res/values/evolution_strings.xml index eea14f4..4ceb8ce 100644 --- a/res/values/evolution_strings.xml +++ b/res/values/evolution_strings.xml @@ -99,6 +99,8 @@ Icons Status bar tuner Choose which system icons can be shown + Data disabled indicator + Display an indicator next to signal icon when data is disabled Bluetooth battery status Display battery status for the connected Bluetooth device, if available Colored icons diff --git a/res/xml/evolution_settings_status_bar.xml b/res/xml/evolution_settings_status_bar.xml index ff02cc8..96889e7 100644 --- a/res/xml/evolution_settings_status_bar.xml +++ b/res/xml/evolution_settings_status_bar.xml @@ -41,6 +41,13 @@ + + + keys = super.getNonIndexableKeys(context); final Resources resources = context.getResources(); + if (!DeviceUtils.deviceSupportsMobileData(context)) { + keys.add(KEY_DATA_DISABLED_ICON); + } if (!DeviceUtils.deviceSupportsBluetooth(context)) { keys.add(KEY_BLUETOOTH_BATTERY_STATUS); }