History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
651fbdec08a2b6f7987b7060eba67c629d2745d9 18-May-2017 Mady Mellor <madym@google.com> Add 2 hours as an option for snoozing, update default to 1 hour

Test: Show snooze menu, note the default is 1 hour, expand the menu, note
that there is an additional option for 2 hours
Bug: 38207398
Change-Id: I027990a373c14de0a88b3ceb1cde7a3e747a7824
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
5ddf88dfe650a6adc2b86a99d0792b9f024b0ad9 09-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Don't commit snooze on horizontal swipes or when its in its expanded state" into oc-dev
c2dbe49bdcd487cb18bc97f5d4942224f64e8540 30-Mar-2017 Mady Mellor <madym@google.com> Don't commit snooze on horizontal swipes or when its in its expanded state

- Previously any touch outside of the snooze menu would commit the action
(similar to how notification info gets reset) now only touches that
aren't horizontal swipes will commit the action (if you snooze multiple
in a row, it's jarring for the snooze item to disappear when you hit
'down' on the next notification)
- Tracks expanded state of snooze menu
- Rather than commiting (i.e. snoozing) upon outside action when the
menu is expanded it collapses the menu, upon next outside action snooze
is commited

Test: manual / runtest systemui
Bug: 37253059
Change-Id: Ie0383fb8de49efe1b1bf0ed75d60cf75864f0210
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
e8ea7f610d30b903e393e92776677f489b3cc8b4 29-Apr-2017 Selim Cinek <cinek@google.com> Fixed that snooze options were animating

Right after inflation, they would animate.

Test: manual
Change-Id: I347bcb5a9e483da7e315a83c2a05c6afc2ef3fed
Fixes: 37796113
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
e09fb7029ac29f337b8d3b9e564e5b994a9ed927 30-Mar-2017 Mady Mellor <madym@google.com> Update snooze visuals to match latest design

Also updates it so that the height animates going from collapsed / expanded

Test: manual / runtest systemui
Bug: 36249479
Change-Id: Ice10e42986eddc9b87ba79cd00dfc59fefef5464
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
95d743c38c919dd500d9dcacf9f998500d403d9e 10-Jan-2017 Mady Mellor <madym@google.com> Add plugin interfaces to control notification menu / swipe behavior

1) Updates the notification menu plugin to do more:
- The plugin can now supply the view it wants to display behind a
notification as the menu
- Touch interaction (i.e. notification translating on top) is piped
through to the plugin so it can update the view behind the notification

2) Makes NotificationMenuRow an implementor of the plugin which moves
a bunch of that logic out of NotificationStackScroller

Test: runtest systemui
Change-Id: I8723b96c195ff7311317d5523418cfcbe2a79b52
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
434180ce5155f0c405080698031f05e9eab3dd4c 13-Feb-2017 Mady Mellor <madym@google.com> Fix notification shelf icon showing on top of snooze leave behind

Also fixes an issue where the guts closed listener would always call
onHeightChanged because the notification isn’t marked as removed
until after the listener gets called.

Fixes: 34866027
Test: Manual - have one notification, snooze it
Change-Id: Ic67bdb353b8bb5df8bdaaf6d3e71ade7da05ee46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
df44b606f357bb67e7a3b44e58f551c1c731ce42 03-Feb-2017 Geoffrey Pitsch <gpitsch@google.com> Updated Inline Notification Controls

Removed old xml resources, strings, dimens, etc
Different behavior when sent from the default channel.
Display how many notification categories are used by the app.
Group label when channel is associated with group.
Add package icon.
Fix tap-away-to-save behavior

Test: runtest systemui
Change-Id: Ib41a536a5c4e7c7747a2453eddc3b4b4b99ffa7a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
754d8226c9f775fa53610c1cb38fed0d33b7ec79 26-Jan-2017 Mady Mellor <madym@google.com> Add assistant-provided snooze options to snooze menu

Test: manual via Assistant app
Change-Id: Ie77181601a20e46774d009c7ecea65e99434ebd3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java
04d7a0fca0c2d7c1bb08fbcc0301fcf0cdc7838f 25-Jan-2017 Mady Mellor <madym@google.com> Add snooze to notification menu row

Moves the snooze plugin code into system UI.
Does not include assistant suggestions.

Test: manual
Change-Id: Ie2c51d65381530c9a72cd8a871efdbf0d63da490
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationSnooze.java