aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/google
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-17 02:06:41 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-17 02:06:41 -0600
commite38960ff845bddbd463c43801ad01834f77474f2 (patch)
treeab217c135c9166a6d1e03cc000c021859f640321 /androidApp/src/google
parent6858de4bf2ba110abc29078194135d971ce71aa5 (diff)
downloadetbsa-trackermap-mobile-e38960ff845bddbd463c43801ad01834f77474f2.tar.gz
etbsa-trackermap-mobile-e38960ff845bddbd463c43801ad01834f77474f2.tar.bz2
etbsa-trackermap-mobile-e38960ff845bddbd463c43801ad01834f77474f2.zip
Implemented timer that fetches units every 10 seconds, and updated map to work with timer
Diffstat (limited to 'androidApp/src/google')
-rw-r--r--androidApp/src/google/java/GoogleMainApplication.kt2
-rw-r--r--androidApp/src/google/java/ManagerMessagingService.kt2
2 files changed, 4 insertions, 0 deletions
diff --git a/androidApp/src/google/java/GoogleMainApplication.kt b/androidApp/src/google/java/GoogleMainApplication.kt
index 96062e1..e491b9f 100644
--- a/androidApp/src/google/java/GoogleMainApplication.kt
+++ b/androidApp/src/google/java/GoogleMainApplication.kt
@@ -26,8 +26,10 @@ import androidx.localbroadcastmanager.content.LocalBroadcastManager
import com.google.firebase.messaging.FirebaseMessaging
import kotlinx.coroutines.DelicateCoroutinesApi
import mx.trackermap.TrackerMap.android.session.LoginFragment
+import kotlin.time.ExperimentalTime
@DelicateCoroutinesApi
+@ExperimentalTime
class GoogleMainApplication : TrackerApp() {
override fun onCreate() {
diff --git a/androidApp/src/google/java/ManagerMessagingService.kt b/androidApp/src/google/java/ManagerMessagingService.kt
index b10475f..07ee427 100644
--- a/androidApp/src/google/java/ManagerMessagingService.kt
+++ b/androidApp/src/google/java/ManagerMessagingService.kt
@@ -25,8 +25,10 @@ import com.google.firebase.messaging.FirebaseMessagingService
import com.google.firebase.messaging.RemoteMessage
import kotlinx.coroutines.DelicateCoroutinesApi
import mx.trackermap.TrackerMap.android.units.UnitsActivity
+import kotlin.time.ExperimentalTime
@DelicateCoroutinesApi
+@ExperimentalTime
class ManagerMessagingService : FirebaseMessagingService() {
@SuppressLint("UnspecifiedImmutableFlag")