summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Warner <Tortel1210@gmail.com>2016-06-27 10:28:44 -0400
committerScott Warner <Tortel1210@gmail.com>2016-06-27 10:28:44 -0400
commit56154d0302626cc8fdf2db03b985db4e891e1f38 (patch)
tree852322a14d94a1129fb9974053ff55f18fdac0ce
parenta8980dbe7bc9cc3718ed04b452e14fce7105f7df (diff)
downloadandroid_packages_apps_YahooWeatherProvider-56154d0302626cc8fdf2db03b985db4e891e1f38.tar.gz
android_packages_apps_YahooWeatherProvider-56154d0302626cc8fdf2db03b985db4e891e1f38.tar.bz2
android_packages_apps_YahooWeatherProvider-56154d0302626cc8fdf2db03b985db4e891e1f38.zip
Don't remove today from the forecaststable/cm-13.0-ZNH5Ycm-14.0
The forecast view starts with today, so by removing it it incorrectly shows tomorrow's forecast as today. Change-Id: If5636a969a9a3a00b731aa1d0b8fce66f7406af3
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java
index 63c0f96..92fb895 100644
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java
+++ b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/YahooWeatherProviderService.java
@@ -269,8 +269,6 @@ public class YahooWeatherProviderService extends WeatherProviderService
ArrayList<WeatherInfo.DayForecast> forecastList =
ConverterUtils.convertForecastsToDayForecasts(
Arrays.asList(forecasts), MAX_FORECAST_DAYS);
- // Remove today
- forecastList.remove(0);
weatherInfoBuilder.setForecast(forecastList);