Commit a8bc4f24 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Fix crash on old API

parent 3b82cd44
......@@ -466,10 +466,12 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
private void sendCurrentNotifications(NotificationReceiver service) {
StatusBarNotification[] notifications = service.getActiveNotifications();
if (notifications != null) { //Can happen only on API 23 and lower
for (StatusBarNotification notification : notifications) {
public boolean onPacketReceived(final NetworkPacket np) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment