From 23a58c2fc1141a3b6da0800a652be251a69d8cff Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Thu, 1 Nov 2018 07:54:29 +0100 Subject: [PATCH] == -> equals --- .../androidaps/plugins/PumpDanaRS/services/BLEComm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/services/BLEComm.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/services/BLEComm.java index ae7d574d19..48bb311385 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/services/BLEComm.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/services/BLEComm.java @@ -663,7 +663,7 @@ public class BLEComm { private void SendPumpCheck() { // 1st message sent to pump after connect String devicename = getConnectDeviceName(); - if(devicename == null || devicename == ""){ + if(devicename == null || devicename.equals("")){ Notification n = new Notification(Notification.DEVICENOTPAIRED, MainApp.gs(R.string.pairfirst), Notification.URGENT); MainApp.bus().post(new EventNewNotification(n)); return;