Pebble: also acknowledge PebbleKit intents with transaction_id -1
I don't understand why this should be necessary but for some 3rd party apps it helps (#509)
This commit is contained in:
parent
1d1edd41d7
commit
a26563d6c7
|
@ -55,9 +55,9 @@ class PebbleKitSupport {
|
|||
try {
|
||||
JSONArray jsonArray = new JSONArray(jsonString);
|
||||
mPebbleIoThread.write(mPebbleProtocol.encodeApplicationMessageFromJSON(uuid, jsonArray));
|
||||
if (transaction_id >= 0 && transaction_id <= 255) {
|
||||
sendAppMessageAck(transaction_id);
|
||||
}
|
||||
// if (transaction_id >= 0 && transaction_id <= 255) {
|
||||
sendAppMessageAck(transaction_id);
|
||||
// }
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue