diff --git a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java index 0f9ecdd3..56ddea6a 100644 --- a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java +++ b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java @@ -12,7 +12,8 @@ import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice; import nodomain.freeyourgadget.gadgetbridge.model.Alarm; import nodomain.freeyourgadget.gadgetbridge.model.DeviceType; import nodomain.freeyourgadget.gadgetbridge.model.ServiceCommand; -import nodomain.freeyourgadget.gadgetbridge.model.NotificationKind; +import nodomain.freeyourgadget.gadgetbridge.model.NotificationType; +import nodomain.freeyourgadget.gadgetbridge.model.NotificationSpec; import nodomain.freeyourgadget.gadgetbridge.service.AbstractDeviceSupport; public class TestDeviceSupport extends AbstractDeviceSupport { @@ -49,17 +50,7 @@ public class TestDeviceSupport extends AbstractDeviceSupport { } @Override - public void onSMS(String from, String body) { - - } - - @Override - public void onEmail(String from, String subject, String body) { - - } - - @Override - public void onGenericNotification(String title, String details, int handle, NotificationKind notification_kind) { + public void onNotification(NotificationSpec notificationSpec) { }