From 416631e028489c478fd2f1fce10f6c930c9d5f58 Mon Sep 17 00:00:00 2001 From: Jisakiel Date: Sat, 21 Dec 2024 00:29:37 +0000 Subject: [PATCH] Cleanup unneeded imports & fix missing one on Casio 5600 Side effect of last minute fixes on it. --- .../ecbs100/CasioECBS100DeviceSupport.java | 19 ---------------- .../gwb5600/CasioGWB5600DeviceSupport.java | 22 +------------------ 2 files changed, 1 insertion(+), 40 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/ecbs100/CasioECBS100DeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/ecbs100/CasioECBS100DeviceSupport.java index 63c4346d7..24e8d8fab 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/ecbs100/CasioECBS100DeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/ecbs100/CasioECBS100DeviceSupport.java @@ -16,29 +16,10 @@ along with this program. If not, see . */ package nodomain.freeyourgadget.gadgetbridge.service.devices.casio.ecbs100; -import android.bluetooth.BluetoothGatt; -import android.bluetooth.BluetoothGattCharacteristic; - import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.time.Instant; -import java.time.ZoneId; -import java.time.ZonedDateTime; -import java.time.format.TextStyle; -import java.util.HashSet; -import java.util.Locale; -import java.util.Map; -import java.util.UUID; - -import nodomain.freeyourgadget.gadgetbridge.deviceevents.GBDeviceEventFindPhone; -import nodomain.freeyourgadget.gadgetbridge.devices.casio.CasioConstants; -import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice; -import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder; -import nodomain.freeyourgadget.gadgetbridge.service.btle.actions.SetDeviceStateAction; import nodomain.freeyourgadget.gadgetbridge.service.devices.casio.BasicCasio2C2DSupport; -import nodomain.freeyourgadget.gadgetbridge.service.devices.casio.Casio2C2DSupport; -import nodomain.freeyourgadget.gadgetbridge.service.devices.casio.CasioTimeZone; // TODO abstract methods out from GWB5600 public class CasioECBS100DeviceSupport extends BasicCasio2C2DSupport { diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/gwb5600/CasioGWB5600DeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/gwb5600/CasioGWB5600DeviceSupport.java index 9472e8a80..78bb5924c 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/gwb5600/CasioGWB5600DeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/casio/gwb5600/CasioGWB5600DeviceSupport.java @@ -16,30 +16,10 @@ along with this program. If not, see . */ package nodomain.freeyourgadget.gadgetbridge.service.devices.casio.gwb5600; -import java.util.UUID; -import java.util.HashSet; -import java.util.Map; -import java.util.Locale; - -import android.bluetooth.BluetoothGatt; -import android.bluetooth.BluetoothGattCharacteristic; - import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.time.Instant; -import java.time.ZoneId; -import java.time.ZonedDateTime; -import java.time.format.TextStyle; - -import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice; -import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder; -import nodomain.freeyourgadget.gadgetbridge.service.btle.actions.SetDeviceStateAction; -import nodomain.freeyourgadget.gadgetbridge.deviceevents.GBDeviceEventFindPhone; - -import nodomain.freeyourgadget.gadgetbridge.devices.casio.CasioConstants; -import nodomain.freeyourgadget.gadgetbridge.service.devices.casio.Casio2C2DSupport; -import nodomain.freeyourgadget.gadgetbridge.service.devices.casio.CasioTimeZone; +import nodomain.freeyourgadget.gadgetbridge.service.devices.casio.BasicCasio2C2DSupport; public class CasioGWB5600DeviceSupport extends BasicCasio2C2DSupport { private static final Logger LOG = LoggerFactory.getLogger(CasioGWB5600DeviceSupport.class);