R.id.display_and_lights_settings,
R.id.lockscreen_settings,
R.id.notification_manager,
+ R.id.status_bar_settings,
R.id.storage_settings,
R.id.application_settings,
R.id.battery_settings,
R.id.home_settings,
R.id.dashboard,
R.id.privacy_settings_cyanogenmod,
- R.id.button_settings
};
private static final String[] ENTRY_FRAGMENTS = {
removeTile = true;
}
} else if (id == R.id.weather_settings) {
+ final boolean showWeatherMenu = getResources()
+ .getBoolean(R.bool.config_showWeatherMenu);
+
if (!getPackageManager().hasSystemFeature(
- CMContextConstants.Features.WEATHER_SERVICES)) {
+ CMContextConstants.Features.WEATHER_SERVICES) || !showWeatherMenu) {
removeTile = true;
}
}