probable close #104
parent
95b65265b4
commit
face7cceea
|
@ -40,6 +40,12 @@ public class PebbleReceiver extends BroadcastReceiver {
|
||||||
LOG.info("non PEBBLE_ALERT message type not supported");
|
LOG.info("non PEBBLE_ALERT message type not supported");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!intent.hasExtra("notificationData")) {
|
||||||
|
LOG.info("missing notificationData extra");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
String notificationData = intent.getStringExtra("notificationData");
|
String notificationData = intent.getStringExtra("notificationData");
|
||||||
try {
|
try {
|
||||||
JSONArray notificationJSON = new JSONArray(notificationData);
|
JSONArray notificationJSON = new JSONArray(notificationData);
|
||||||
|
|
Loading…
Reference in New Issue