summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-05-05 09:10:51 (GMT)
committerAdnan Begovic <adnan@cyngn.com>2016-05-05 09:10:51 (GMT)
commit067b133a078cc33f4596380e745c8d6c43bbca5c (patch)
tree46ec6debe23eed94cea3fe809ba50b1b0cc3d057
parent8194502f0dd19e0199955322f2ad26dc4989c911 (diff)
downloadandroid_packages_apps_YahooWeatherProvider-067b133a078cc33f4596380e745c8d6c43bbca5c.zip
android_packages_apps_YahooWeatherProvider-067b133a078cc33f4596380e745c8d6c43bbca5c.tar.gz
android_packages_apps_YahooWeatherProvider-067b133a078cc33f4596380e745c8d6c43bbca5c.tar.bz2
YahooCM: Disable debugging, remove debug code.
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/ConverterUtils.java1
-rw-r--r--app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/YahooWeatherServiceManager.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/ConverterUtils.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/ConverterUtils.java
index 2dfe3f0..28d61c0 100644
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/ConverterUtils.java
+++ b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/ConverterUtils.java
@@ -31,7 +31,6 @@ public class ConverterUtils {
public static ArrayList<WeatherInfo.DayForecast> convertForecastsToDayForecasts(List<Forecast> forecasts) {
ArrayList<WeatherInfo.DayForecast> ret = new ArrayList<>();
for (Forecast forecast : forecasts) {
- System.out.println("Forecast " + forecast);
WeatherInfo.DayForecast dayForecast = new WeatherInfo.DayForecast.Builder(
Integer.parseInt(forecast.getCode()))
.setHigh(Double.parseDouble(forecast.getHigh()))
diff --git a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/YahooWeatherServiceManager.java b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/YahooWeatherServiceManager.java
index f9d7009..19c33a3 100644
--- a/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/YahooWeatherServiceManager.java
+++ b/app/src/main/java/org/cyanogenmod/yahooweatherprovider/yahoo/YahooWeatherServiceManager.java
@@ -28,7 +28,7 @@ import retrofit2.converter.gson.GsonConverterFactory;
public class YahooWeatherServiceManager {
private final static String TAG = "YahooServiceManager";
- private final static boolean DEBUG = true;//Log.isLoggable(TAG, Log.VERBOSE);
+ private final static boolean DEBUG = Log.isLoggable(TAG, Log.VERBOSE);
private final YahooServiceInterface mYahooServiceInterface;