From c79eda550794cf4b0c76946deeee7378256af6d6 Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Fri, 19 May 2017 22:35:01 +0200 Subject: [PATCH] Remove "tapString" from DeviceCoordinator --- .../gadgetbridge/devices/UnknownDeviceCoordinator.java | 5 ----- .../gadgetbridge/devices/hplus/HPlusCoordinator.java | 5 ----- .../gadgetbridge/devices/liveview/LiveviewCoordinator.java | 6 ------ .../gadgetbridge/devices/miband/MiBandCoordinator.java | 5 ----- .../gadgetbridge/devices/pebble/PebbleCoordinator.java | 5 ----- .../devices/vibratissimo/VibratissimoCoordinator.java | 5 ----- 6 files changed, 31 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/UnknownDeviceCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/UnknownDeviceCoordinator.java index e89198fa4..51d516177 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/UnknownDeviceCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/UnknownDeviceCoordinator.java @@ -157,11 +157,6 @@ public class UnknownDeviceCoordinator extends AbstractDeviceCoordinator { return false; } - @Override - public int getTapString() { - return 0; - } - @Override public String getManufacturer() { return "unknown"; diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hplus/HPlusCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hplus/HPlusCoordinator.java index e99123bcd..943cad071 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hplus/HPlusCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/hplus/HPlusCoordinator.java @@ -147,11 +147,6 @@ public class HPlusCoordinator extends AbstractDeviceCoordinator { return true; } - @Override - public int getTapString() { - return R.string.tap_connected_device_for_activity; - } - @Override public String getManufacturer() { return "Zeblaze"; diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/liveview/LiveviewCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/liveview/LiveviewCoordinator.java index 5b5c19a7d..465d65823 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/liveview/LiveviewCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/liveview/LiveviewCoordinator.java @@ -99,12 +99,6 @@ public class LiveviewCoordinator extends AbstractDeviceCoordinator { return false; } - @Override - public int getTapString() { - //TODO: changeme - return R.string.tap_connected_device_for_activity; - } - @Override public String getManufacturer() { return "Sony Ericsson"; diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandCoordinator.java index 6afc943b6..d4d9a1b02 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/miband/MiBandCoordinator.java @@ -151,11 +151,6 @@ public class MiBandCoordinator extends AbstractDeviceCoordinator { return true; } - @Override - public int getTapString() { - return R.string.tap_connected_device_for_activity; - } - @Override public String getManufacturer() { return "Xiaomi"; diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java index 2e4da852b..9d410c63a 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/pebble/PebbleCoordinator.java @@ -137,11 +137,6 @@ public class PebbleCoordinator extends AbstractDeviceCoordinator { return PebbleUtils.hasHRM(device.getModel()); } - @Override - public int getTapString() { - return R.string.tap_connected_device_for_app_mananger; - } - @Override public String getManufacturer() { return "Pebble"; diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/vibratissimo/VibratissimoCoordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/vibratissimo/VibratissimoCoordinator.java index ecc10de17..2b20f1a0b 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/vibratissimo/VibratissimoCoordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/vibratissimo/VibratissimoCoordinator.java @@ -100,11 +100,6 @@ public class VibratissimoCoordinator extends AbstractDeviceCoordinator { return false; } - @Override - public int getTapString() { - return R.string.tap_connected_device_for_vibration; - } - @Override public String getManufacturer() { return "Amor AG";