From 537c241e76180e4a40f5f50cf52382c27812e5bc Mon Sep 17 00:00:00 2001 From: harispoljo <34479922+harispoljo@users.noreply.github.com> Date: Thu, 7 Mar 2019 16:33:36 +0100 Subject: [PATCH] Made the intent easier to read. --- .../info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java b/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java index 3296d3d9d5..91bbccc515 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/aps/loop/LoopPlugin.java @@ -178,7 +178,7 @@ public class LoopPlugin extends PluginBase { @Subscribe public void onStatusEvent(final EventTempTargetChange ev) { - new Thread(() -> LoopPlugin.getPlugin().invoke("EventTempTargetChange", true)).start(); + new Thread(() -> invoke("EventTempTargetChange", true)).start(); FabricPrivacy.getInstance().logCustom(new CustomEvent("TT_Loop_Run")); }