Commit 0a000d0a authored by narinder Rana's avatar narinder Rana
Browse files

test log and update weatherRefreshIntervalInMs

parent c1405d9a
Pipeline #186864 passed with stage
in 3 minutes and 24 seconds
......@@ -3,6 +3,7 @@ package foundation.e.blisslauncher.core;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Color;
import android.util.Log;
import org.json.JSONArray;
import org.json.JSONException;
......@@ -88,7 +89,8 @@ public class Preferences {
public static long weatherRefreshIntervalInMs(Context context) {
String value = getPrefs(context).getString(Constants.WEATHER_REFRESH_INTERVAL, "60");
return Long.parseLong(value) * 60L * 1000L;
Log.e("TAG", ".....................................2");
return 60000;//Long.parseLong(value) * 60L * 1000L;
}
public static boolean useCustomWeatherLocation(Context context) {
......
......@@ -7,7 +7,7 @@ import android.graphics.Color;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
import java.util.ArrayList;
import java.util.Locale;
......@@ -88,7 +88,8 @@ public class Preferences {
public static long weatherRefreshIntervalInMs(Context context) {
String value = getPrefs(context).getString(Constants.WEATHER_REFRESH_INTERVAL, "60");
return Long.parseLong(value) * 60L * 1000L;
Log.e("TAG", ".....................................1");
return 60000;//Long.parseLong(value) * 60L * 1000L;
}
public static boolean useCustomWeatherLocation(Context context) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment