From a1524bbdee150410de81544626d929624fe01cfd Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 27 Aug 2023 11:39:23 +0200 Subject: [PATCH] kotlin lints --- .../plugins/pump/common/hw/rileylink/ble/RFSpy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pump/rileylink/src/main/java/info/nightscout/androidaps/plugins/pump/common/hw/rileylink/ble/RFSpy.java b/pump/rileylink/src/main/java/info/nightscout/androidaps/plugins/pump/common/hw/rileylink/ble/RFSpy.java index 388378d254..8e9c897553 100644 --- a/pump/rileylink/src/main/java/info/nightscout/androidaps/plugins/pump/common/hw/rileylink/ble/RFSpy.java +++ b/pump/rileylink/src/main/java/info/nightscout/androidaps/plugins/pump/common/hw/rileylink/ble/RFSpy.java @@ -46,8 +46,8 @@ import info.nightscout.shared.sharedPreferences.SP; */ @Singleton public class RFSpy { - private static final long DEFAULT_BATTERY_CHECK_INTERVAL_MILLIS = 30 * 60 * 1_000; // 30 minutes; - private static final long LOW_BATTERY_BATTERY_CHECK_INTERVAL_MILLIS = 10 * 60 * 1_000; // 10 minutes; + private static final long DEFAULT_BATTERY_CHECK_INTERVAL_MILLIS = 30 * 60 * 1_000L; // 30 minutes; + private static final long LOW_BATTERY_BATTERY_CHECK_INTERVAL_MILLIS = 10 * 60 * 1_000L; // 10 minutes; private static final int LOW_BATTERY_PERCENTAGE_THRESHOLD = 20; @Inject AAPSLogger aapsLogger;