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
|
@Override
|
||||||
public GBDeviceEvent[] handleMessage(ArrayList<Pair<Integer, Object>> pairs) {
|
public GBDeviceEvent[] handleMessage(ArrayList<Pair<Integer, Object>> pairs) {
|
||||||
|
return null;
|
||||||
|
/*
|
||||||
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
||||||
ByteBuffer buf = ByteBuffer.allocate(encodeAck().length + encodePebStyleConfig().length);
|
ByteBuffer buf = ByteBuffer.allocate(encodeAck().length + encodePebStyleConfig().length);
|
||||||
buf.put(encodeAck());
|
buf.put(encodeAck());
|
||||||
buf.put(encodePebStyleConfig());
|
buf.put(encodePebStyleConfig());
|
||||||
sendBytes.encodedBytes = buf.array();
|
sendBytes.encodedBytes = buf.array();
|
||||||
return new GBDeviceEvent[]{sendBytes};
|
return new GBDeviceEvent[]{sendBytes};
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GBDeviceEvent[] pushMessage() {
|
public GBDeviceEvent[] pushMessage() {
|
||||||
|
return null;
|
||||||
|
/*
|
||||||
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
||||||
sendBytes.encodedBytes = encodePebStyleConfig();
|
sendBytes.encodedBytes = encodePebStyleConfig();
|
||||||
return new GBDeviceEvent[]{sendBytes};
|
return new GBDeviceEvent[]{sendBytes};
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -100,8 +100,11 @@ public class AppMessageHandlerTimeStylePebble extends AppMessageHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public GBDeviceEvent[] handleMessage(ArrayList<Pair<Integer, Object>> pairs) {
|
public GBDeviceEvent[] handleMessage(ArrayList<Pair<Integer, Object>> pairs) {
|
||||||
|
return null;
|
||||||
|
/*
|
||||||
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
GBDeviceEventSendBytes sendBytes = new GBDeviceEventSendBytes();
|
||||||
sendBytes.encodedBytes = encodeTimeStylePebbleConfig();
|
sendBytes.encodedBytes = encodeTimeStylePebbleConfig();
|
||||||
return new GBDeviceEvent[]{sendBytes};
|
return new GBDeviceEvent[]{sendBytes};
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue