Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
BlissLauncher
Commits
0a000d0a
Commit
0a000d0a
authored
May 19, 2022
by
narinder Rana
Browse files
test log and update weatherRefreshIntervalInMs
parent
c1405d9a
Pipeline
#186864
passed with stage
in 3 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/apiNougat/java/foundation/e/blisslauncher/core/Preferences.java
View file @
0a000d0a
...
...
@@ -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
)
{
...
...
app/src/apiOreo/java/foundation/e/blisslauncher/core/Preferences.java
View file @
0a000d0a
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment