Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9dcc4744 authored by Tony Wickham's avatar Tony Wickham Committed by android-build-merger
Browse files

Merge "Ensure notification listener is connected before getting notifications"...

Merge "Ensure notification listener is connected before getting notifications" into ub-launcher3-dorval-polish
am: 3bf231d9

Change-Id: I8884964000a24a30e9f74df9954acba2892aa5f2
parents b055b4b1 3bf231d9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -127,8 +127,9 @@ public class NotificationListener extends NotificationListenerService {
        }
        sNotificationsChangedListener = listener;

        if (sNotificationListenerInstance != null) {
            sNotificationListenerInstance.onNotificationFullRefresh();
        NotificationListener notificationListener = getInstanceIfConnected();
        if (notificationListener != null) {
            notificationListener.onNotificationFullRefresh();
        }
    }