mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-14 22:19:29 +01:00
Do not override the configured settings with our old stored values (but keep them around)
This commit is contained in:
parent
aba21d3ab7
commit
3920b3f977
@ -96,18 +96,24 @@ public class AppMessageHandlerPebStyle extends AppMessageHandler {
|
||||
|
||||
@Override
|
||||
public GBDeviceEvent[] handleMessage(ArrayList<Pair<Integer, Object>> pairs) {
|
||||
return null;
|
||||
/*
|
||||
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
||||
ByteBuffer buf = ByteBuffer.allocate(encodeAck().length + encodePebStyleConfig().length);
|
||||
buf.put(encodeAck());
|
||||
buf.put(encodePebStyleConfig());
|
||||
sendBytes.encodedBytes = buf.array();
|
||||
return new GBDeviceEvent[]{sendBytes};
|
||||
*/
|
||||
}
|
||||
|
||||
@Override
|
||||
public GBDeviceEvent[] pushMessage() {
|
||||
return null;
|
||||
/*
|
||||
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
||||
sendBytes.encodedBytes = encodePebStyleConfig();
|
||||
return new GBDeviceEvent[]{sendBytes};
|
||||
*/
|
||||
}
|
||||
}
|
@ -100,8 +100,11 @@ public class AppMessageHandlerTimeStylePebble extends AppMessageHandler {
|
||||
|
||||
@Override
|
||||
public GBDeviceEvent[] handleMessage(ArrayList<Pair<Integer, Object>> pairs) {
|
||||
return null;
|
||||
/*
|
||||
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
||||
sendBytes.encodedBytes = encodeTimeStylePebbleConfig();
|
||||
return new GBDeviceEvent[]{sendBytes};
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user