summaryrefslogtreecommitdiffhomepage
path: root/android/tile/src
diff options
context:
space:
mode:
Diffstat (limited to 'android/tile/src')
-rw-r--r--android/tile/src/main/kotlin/net/mullvad/mullvadvpn/tile/MullvadTileService.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/android/tile/src/main/kotlin/net/mullvad/mullvadvpn/tile/MullvadTileService.kt b/android/tile/src/main/kotlin/net/mullvad/mullvadvpn/tile/MullvadTileService.kt
index 8e1d9e10ed..5aab152b72 100644
--- a/android/tile/src/main/kotlin/net/mullvad/mullvadvpn/tile/MullvadTileService.kt
+++ b/android/tile/src/main/kotlin/net/mullvad/mullvadvpn/tile/MullvadTileService.kt
@@ -118,7 +118,8 @@ class MullvadTileService : TileService() {
}
}
- // Always start as foreground in case tile is out-of-sync.
+ // Always start as foreground, e.g if app is dead we won't be allowed to start if not
+ // in foreground.
startForegroundService(intent)
}