DescriptionImplement support for silent notifications.
On Android, notifications inherit the user's default settings in regards
to audibly notifying them about new notifications through sound (ringtone),
vibration and an indicator light, when present.
This patch implements support for silent notifications, which allow a Web
developer to set the "silent" key when creating a notification, that will
suppress these notifiers.
We currently don't have any audible notifiers on implementations which use
the Message Center, but it's feasible that this will become available in
the future. The Web Notification API specifies "sound" and "vibration"
fields as well, but we don't support these yet.
The Web Notification API specification:
https://notifications.spec.whatwg.org/#object-members
This is part of a three-sided patch.
[1] https://codereview.chromium.org/960163003/
[2] This patch.
[3] https://codereview.chromium.org/965463003/
BUG=442134
Committed: https://crrev.com/ad0c0d4798353820b218195b327dba3e422e5918
Cr-Commit-Position: refs/heads/master@{#319455}
Patch Set 1 #Patch Set 2 : remove useless include #
Total comments: 2
Patch Set 3 : fix typos #
Total comments: 6
Patch Set 4 : michael's comments #
Total comments: 2
Patch Set 5 : address justin's comment #Patch Set 6 : fix tests #Messages
Total messages: 18 (6 generated)
|