diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java index ef0f388ef..3697e9d5a 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java @@ -814,7 +814,7 @@ public class DeviceCommunicationService extends Service implements SharedPrefere } if (mAutoConnectInvervalReceiver != null) { unregisterReceiver(mAutoConnectInvervalReceiver); - mAutoConnectIntervalReceiver.destroy(); + mAutoConnectInvervalReceiver.destroy(); mAutoConnectInvervalReceiver = null; } }