mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-11 00:36:32 +02:00
probable close #104
This commit is contained in:
parent
95b65265b4
commit
face7cceea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user