diff --git a/android/navi-common/src/main/AndroidManifest.xml b/android/navi-common/src/main/AndroidManifest.xml index 3cb06af113..b010d0aeab 100644 --- a/android/navi-common/src/main/AndroidManifest.xml +++ b/android/navi-common/src/main/AndroidManifest.xml @@ -13,7 +13,7 @@ - + @@ -58,7 +58,11 @@ + android:foregroundServiceType="specialUse"> + + \ No newline at end of file diff --git a/android/navi-common/src/main/java/com/navi/common/pushnotification/TimerNotificationService.kt b/android/navi-common/src/main/java/com/navi/common/pushnotification/TimerNotificationService.kt index 50006d3c4f..ef011f6b21 100644 --- a/android/navi-common/src/main/java/com/navi/common/pushnotification/TimerNotificationService.kt +++ b/android/navi-common/src/main/java/com/navi/common/pushnotification/TimerNotificationService.kt @@ -83,7 +83,7 @@ class TimerNotificationService : Service() { startForeground( foreGroundNotificationId, TimerNotificationRenderer.createNotification(this, bundle), - ServiceInfo.FOREGROUND_SERVICE_TYPE_REMOTE_MESSAGING + ServiceInfo.FOREGROUND_SERVICE_TYPE_SPECIAL_USE ) } else { startForeground(