mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
probable close #104
This commit is contained in:
+6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user