From 6069842fb4947e671eb5b73da7feab11017fab8e Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Thu, 20 Nov 2025 18:54:12 +0100 Subject: [PATCH] Pebble: remove unused function (was used for firmware 2.x) --- .../service/devices/pebble/PebbleProtocol.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleProtocol.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleProtocol.java index 5d47cadb95..238f641bbc 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleProtocol.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleProtocol.java @@ -1626,19 +1626,6 @@ public class PebbleProtocol extends GBDeviceProtocol { return encodeSystemMessage(SYSTEMMESSAGE_FIRMWAREFAIL); } - - byte[] encodeAppRefresh(int index) { - final short LENGTH_REFRESHAPP = 5; - ByteBuffer buf = ByteBuffer.allocate(LENGTH_PREFIX + LENGTH_REFRESHAPP); - buf.order(ByteOrder.BIG_ENDIAN); - buf.putShort(LENGTH_REFRESHAPP); - buf.putShort(ENDPOINT_APPMANAGER); - buf.put(APPMANAGER_REFRESHAPP); - buf.putInt(index); - - return buf.array(); - } - private byte[] encodeDatalog(byte handle, byte reply) { ByteBuffer buf = ByteBuffer.allocate(LENGTH_PREFIX + 2); buf.order(ByteOrder.BIG_ENDIAN);