Skip to content
Commit 643f3e41 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

[Media ML] Replace observing changes in Settings value

Currently, MediaSessionService observes the
ENABLED_NOTIFICATION_LISTENERS value in Settings to be notified
when a previously "enabled" NotificationListener becomes "disabled".

Instead, this CL adds a new broadcast intent action that
NotificationManagerService can use to notify MediaSessionService
whenever the enabled value of a notification listener changes.

Bug: 160762852, Bug: 147019349
Test: Go to Settings > Apps & Notifications > Special app access
    > Notification access
    and check if allowing/disallowing Notification access for any
    app causes onEnabledChanged to be called.
Change-Id: I3aefa40083fedb78214ae884c7cccaf8de206663
parent 2ea424ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment