1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-29 05:16:51 +01:00

probable close #104

This commit is contained in:
Andreas Shimokawa 2015-08-31 17:31:32 +02:00
parent 95b65265b4
commit face7cceea

View File

@ -40,6 +40,12 @@ public class PebbleReceiver extends BroadcastReceiver {
LOG.info("non PEBBLE_ALERT message type not supported");
return;
}
if (!intent.hasExtra("notificationData")) {
LOG.info("missing notificationData extra");
return;
}
String notificationData = intent.getStringExtra("notificationData");
try {
JSONArray notificationJSON = new JSONArray(notificationData);