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

Commit 583f06a8 authored by Danesh M's avatar Danesh M
Browse files

NotificationManager : Rebind the notification listeners onChange

Rebind notification listeners when list of listeners change.

Change-Id: I7a14dacdf7a44a3bd71d28748a70d751507230df
parent 0e73024a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1319,6 +1319,10 @@ public class NotificationManagerService extends INotificationManager.Stub
                parseNotificationPulseCustomValuesString(Settings.System.getStringForUser(resolver,
                        Settings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES, UserHandle.USER_CURRENT));
            }

            if (uri == null || ENABLED_NOTIFICATION_LISTENERS_URI.equals(uri)) {
                rebindListenerServices();
            }
        }
    }