History log of /frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a8b766fb73641ab67194a54391305bdc9cfc1cdd 07-Mar-2017 Julia Reynolds <juliacr@google.com> Do not unsnooze canceled notifications.

Test: runtest systemui-notification
Change-Id: I3edef5822aa74359bf3a34f54f59d4021696365d
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
a78cdffd802ee7a30747ab369e6edd2358a86f20 26-Apr-2017 Julia Reynolds <juliacr@google.com> Change snoozing behavior for notifications in groups

- Snoozing a summary notification will snooze its current
children in addition to itself
- Posting a non-snoozed notification to a summary will
unsnooze the summary
- snoozing the only child of a group will also snooze the group
summary

Test: runtest systemui-notification
Change-Id: I5edba1461a59131c6c202f02e6f89404d22bb404
Fixes: 35934956
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
5098977b20699c2ed32a621524abd5a1b2ab7de4 23-Feb-2017 Julia Reynolds <juliacr@google.com> Change time methods to durations.

Test: cts, cts verifier, runtest systemui-notification
Change-Id: Ia612f59e91f3a3e1de14cd7217fe18ecaf61033c
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
520df6e74a385bbdacf5858837485e1a887d02ef 13-Feb-2017 Julia Reynolds <juliacr@google.com> Add logs, reorder bugreport.

Bug: 32986903
Bug: 34227881
Test: cts hostside
Change-Id: Ic5dfe4be5632c6bd7c70115c6a60b060d23be9bd
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
cf63ff1532e793560f62e1c75f3402b48b0f09ba 24-Jan-2017 Julia Reynolds <juliacr@google.com> Snoozing API changes

- No one can snooze for an undetermined amount of time
- Only the assistant can unsnooze
- Listeners can retrieve a list of snoozed notifications

Test: runtest systemui-notification, cts verifier
Change-Id: Idfaee6d8bc15a5d41630f86f7e852468b07dc7d0
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
7967230de20aeb6993d8332347752c8e508769e4 12-Jan-2017 Julia Reynolds <juliacr@google.com> Send Snooze callback for Assistant

On selection of a snooze context SnoozeCriterion.

Test: runtest systemui-notification & make cts-verifier
Change-Id: Iaca567100c29295fbbf1d327195a114106909652
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
6676dab3d5d875598e12a4491d573e6734d7e64b 22-Dec-2016 Chris Wren <cwren@android.com> fix race in getAppActiveNotifications

Bug: 32642818
Test: cts-tradefed run cts -m CtsAppTestCases -t android.app.cts.NotificationManagerTest
Change-Id: I3fe8cd1147b03c3d9b6a9461088785c0d9321768
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
b6c1f99bd96d2f38980f4473baf3aa908d059db2 22-Nov-2016 Julia Reynolds <juliacr@google.com> Allow listeners more snoozing options.

(snooze indeterminately and unsnooze)

Test: runtest systemui-notification and cts tests in same topic.
Change-Id: I5ce74638f55ed796bc6b26af167b32b0040f4222
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java
72f1cbb3b988d6daa61c45a69aa9f8024c029b06 19-Sep-2016 Julia Reynolds <juliacr@google.com> 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
/frameworks/base/services/core/java/com/android/server/notification/SnoozeHelper.java