summaryrefslogtreecommitdiffhomepage
path: root/android/lib/model/src
diff options
context:
space:
mode:
Diffstat (limited to 'android/lib/model/src')
-rw-r--r--android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/InAppNotification.kt9
1 files changed, 7 insertions, 2 deletions
diff --git a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/InAppNotification.kt b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/InAppNotification.kt
index 7a681da66c..77cfd97e5c 100644
--- a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/InAppNotification.kt
+++ b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/InAppNotification.kt
@@ -20,12 +20,17 @@ sealed class InAppNotification {
} else {
StatusLevel.Error
}
- override val priority: Long = 1004
+ override val priority: Long = 1005
+ }
+
+ data object Android16UpgradeWarning : InAppNotification() {
+ override val statusLevel = StatusLevel.Warning
+ override val priority: Long = 1005
}
data object TunnelStateBlocked : InAppNotification() {
override val statusLevel = StatusLevel.None
- override val priority: Long = 1003
+ override val priority: Long = 1004
}
data class UnsupportedVersion(val versionInfo: VersionInfo) : InAppNotification() {