From cedd95186f0d83f89987238250242b3171a4c03b Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sat, 22 Aug 2015 00:29:52 +0200 Subject: [PATCH] Pebble: revert changes commited accidentially --- .../gadgetbridge/service/devices/pebble/PebbleProtocol.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 58d5e41b..0a60245d 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 @@ -568,7 +568,7 @@ public class PebbleProtocol extends GBDeviceProtocol { buf.putInt(timestamp); // 32-bit timestamp buf.putShort((short) 0); // duration buf.put((byte) 0x01); // type (0x01 = notification) - buf.putShort((short) 0x001f); // flags 0x0001 = ? + buf.putShort((short) 0x0001); // flags 0x0001 = ? buf.put((byte) 0x04); // layout (0x04 = notification?) buf.putShort(attributes_length); // total length of all attributes and actions in bytes buf.put(attributes_count); @@ -597,7 +597,7 @@ public class PebbleProtocol extends GBDeviceProtocol { if (mForceProtocol) { // ACTION - buf.put((byte) 0x00); // id + buf.put((byte) 0x01); // id buf.put((byte) 0x04); // dismiss action buf.put((byte) 0x01); // number attributes buf.put((byte) 0x01); // attribute id (title)