mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-29 05:16:51 +01: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