== -> equals
This commit is contained in:
parent
b73cbacbf5
commit
23a58c2fc1
|
@ -663,7 +663,7 @@ public class BLEComm {
|
||||||
private void SendPumpCheck() {
|
private void SendPumpCheck() {
|
||||||
// 1st message sent to pump after connect
|
// 1st message sent to pump after connect
|
||||||
String devicename = getConnectDeviceName();
|
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);
|
Notification n = new Notification(Notification.DEVICENOTPAIRED, MainApp.gs(R.string.pairfirst), Notification.URGENT);
|
||||||
MainApp.bus().post(new EventNewNotification(n));
|
MainApp.bus().post(new EventNewNotification(n));
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue