From d7a4740e7de87a78e1b7bddae62548b5e6cf7d25 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 2 Dec 2021 21:07:12 +0100 Subject: [PATCH] do not clear disk full message --- .../plugins/constraints/storage/StorageConstraintPlugin.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt index d1e9ddd5d4..003310eb07 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/constraints/storage/StorageConstraintPlugin.kt @@ -46,8 +46,6 @@ class StorageConstraintPlugin @Inject constructor( value.set(aapsLogger, false, rh.gs(R.string.diskfull, Constants.MINIMUM_FREE_SPACE), this) val notification = Notification(Notification.DISK_FULL, rh.gs(R.string.diskfull, Constants.MINIMUM_FREE_SPACE), Notification.NORMAL) rxBus.send(EventNewNotification(notification)) - } else { - rxBus.send(EventDismissNotification(Notification.DISK_FULL)) } return value }