From 36b838fc49fc8d0201d93772abf1403f23189c82 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Sun, 18 Feb 2018 02:13:21 +0100 Subject: [PATCH] remove switch-missing notification on profile switch --- .../androidaps/plugins/ConfigBuilder/ConfigBuilderPlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderPlugin.java index e63924d80a..4e65793dca 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/ConfigBuilder/ConfigBuilderPlugin.java @@ -40,6 +40,7 @@ import info.nightscout.androidaps.interfaces.SensitivityInterface; import info.nightscout.androidaps.interfaces.TreatmentsInterface; import info.nightscout.androidaps.plugins.Loop.APSResult; import info.nightscout.androidaps.plugins.Loop.LoopPlugin; +import info.nightscout.androidaps.plugins.Overview.events.EventDismissNotification; import info.nightscout.androidaps.plugins.Overview.events.EventNewNotification; import info.nightscout.androidaps.plugins.Overview.notifications.Notification; import info.nightscout.androidaps.plugins.PumpVirtual.VirtualPumpPlugin; @@ -721,6 +722,7 @@ public class ConfigBuilderPlugin implements PluginBase, ConstraintsInterface, Tr @Override public void addToHistoryProfileSwitch(ProfileSwitch profileSwitch) { + MainApp.bus().post(new EventDismissNotification(Notification.PROFILE_SWITCH_MISSING)); activeTreatments.addToHistoryProfileSwitch(profileSwitch); NSUpload.uploadProfileSwitch(profileSwitch); }