diff options
author | Julia Reynolds <juliacr@google.com> | 2016-09-19 14:57:31 -0400 |
---|---|---|
committer | Julia Reynolds <juliacr@google.com> | 2016-10-13 16:18:11 -0400 |
commit | 72f1cbb3b988d6daa61c45a69aa9f8024c029b06 (patch) | |
tree | c87177bfeb984d5241e0ee80bfe55e5f01888e90 /tools/aapt2/diff/Diff.cpp | |
parent | 808913e008b1038d7f6ad5442ae203ada7290a81 (diff) |
Add support for snoozing notifications
To a notification listener, snoozing will appear as a cancel
(with reason snoozed) followed by a post (when the snooze period
ends).
Apps can repost a snoozed notification, but the updates will not be shown
to the user until the snooze period ends.
Snoozing is canceled if the posting app or a notification listener
cancels the notification.
Any notification listener can snooze a notification. Technically apps
can snooze their own notifications also, though that's not public.
In this iteration snoozed notifications will be lost on device reboot.
Test: included. Also, various post, snooze, update, cancel tests with
a listener.
Bug: 30997603
Change-Id: I568a6448196f0992a17d20a4dac296321ec5092b
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions