diff options
| author | David Göransson <david.goransson90@gmail.com> | 2024-01-23 08:00:18 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2024-02-05 17:51:37 +0100 |
| commit | eafd38b64dc6732496312424722c9465dfd6daff (patch) | |
| tree | 4c139dd6a1328445a8e0425c05beed484f4489c9 /android/service/src | |
| parent | dc356c9c2045327d9f5a3d4a81be7b8c5d249b65 (diff) | |
| download | mullvadvpn-eafd38b64dc6732496312424722c9465dfd6daff.tar.xz mullvadvpn-eafd38b64dc6732496312424722c9465dfd6daff.zip | |
Add const property to old const
Diffstat (limited to 'android/service/src')
3 files changed, 4 insertions, 4 deletions
diff --git a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt index b0c55540a6..66a77b0d73 100644 --- a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt +++ b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/MullvadVpnService.kt @@ -273,7 +273,7 @@ class MullvadVpnService : TalpidVpnService() { } companion object { - private val TAG = "mullvad" + private const val TAG = "mullvad" init { System.loadLibrary("mullvad_jni") diff --git a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/AccountExpiryNotification.kt b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/AccountExpiryNotification.kt index 371e19be7b..634051b2b1 100644 --- a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/AccountExpiryNotification.kt +++ b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/AccountExpiryNotification.kt @@ -140,8 +140,8 @@ class AccountExpiryNotification( } companion object { - val NOTIFICATION_ID: Int = 2 + const val NOTIFICATION_ID: Int = 2 val REMAINING_TIME_FOR_REMINDERS = Duration.standardDays(2) - val TIME_BETWEEN_CHECKS: Long = 12 /* h */ * 60 /* min */ * 60 /* s */ * 1000 /* ms */ + const val TIME_BETWEEN_CHECKS: Long = 12 /* h */ * 60 /* min */ * 60 /* s */ * 1000 /* ms */ } } diff --git a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/TunnelStateNotification.kt b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/TunnelStateNotification.kt index 0c04c09eeb..44a34589d9 100644 --- a/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/TunnelStateNotification.kt +++ b/android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/notifications/TunnelStateNotification.kt @@ -147,6 +147,6 @@ class TunnelStateNotification(val context: Context) { } companion object { - val NOTIFICATION_ID: Int = 1 + const val NOTIFICATION_ID: Int = 1 } } |
