You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Parse ISO 8601 string to milliseconds since epoch
111
113
val currentUtcTimeMs =OffsetDateTime.parse(currentDateTimeStr).toInstant().toEpochMilli()
112
114
@@ -154,7 +156,8 @@ class TrialTimerService : Service() {
154
156
} catch (e:SocketTimeoutException) {
155
157
Log.e(TAG, "Failed to fetch internet time: Socket Timeout after $CONNECTION_TIMEOUT_MS ms (connect) or $READ_TIMEOUT_MS ms (read). Attempt ${attempt +1}", e)
156
158
} catch (e:MalformedURLException) {
157
-
Log.e(TAG, "Failed to fetch internet time: Malformed URL '$TIME_API_URL'. Stopping timer logic.", e)
159
+
Log.e(TAG, "Failed to fetch internet time: Malformed URL neğinTIME_API_URL
160
+
. Stopping timer logic.", e)
158
161
stopTimerLogic() // URL is wrong, no point in retrying
0 commit comments