summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar/InterceptedNotifications.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove suppression of ZEN'd notificationsChristoph Studer2014-06-241-143/+0
| | | | | Bug: 15286335 Change-Id: I3114d7bcd8f05ca3a58f3598b95fdb507f6c646c
* Remove notification APIs from StatusBar serviceChristoph Studer2014-06-241-2/+2
| | | | | | Bug: 15324972 Bug: 15436573 Change-Id: I838370a23fb07cb876e08c41ef11653f2658719e
* Merge "NotificationListenerService: API updates" into lmp-preview-devDan Sandler2014-06-101-4/+6
|\
| * NotificationListenerService: API updatesChristoph Studer2014-06-111-4/+6
| | | | | | | | | | | | | | | | | | | | | | Introduce RankingMap holding single notification Rankings indexed by SBN keys. Also, pass RankingMap with notification event callbacks so subclasses don't have to call getCurrentRanking() unnecessarily. Bug: 15415840 Change-Id: Id41e174f00c06c86359c03646abc3db78028b324
* | SystemUI asset update.John Spurlock2014-06-111-1/+1
|/ | | | | | | | | - Updated location icons. - Updated no-sim, plumb up to QS. - Updated zen mode synthetic notification icon. - Updated color inversion icons. Change-Id: I4849fbe11683feab37160c3d23502b01035de66a
* Handle Zen Mode computations correctly for updated notifications.Chris Wren2014-06-031-12/+7
| | | | | | | | | | | | | | | | | Updates to intercepted notifications come in through addNotificatiom instead of updateNotification, because the intercepted notifications are not in mNotificationData. If an update causes a notification to surface, we need to notice and remove it from the synthetic notification. However, addNotification is called from within InterceptedNotifications inside loops over mIntercepted, and we cannot remove items from mIntercepted while looping, so we split addNotification into two parts, one part is only used by InterceptedNotifications to unconditionally surface previously intercepted notifications. Bug: 15389069 Change-Id: I7b0952a337f15d4009e3e61360344012345eac95
* Track Zen Mode status in the NotificationRecordChris Wren2014-05-301-4/+27
| | | | | | | | | This requires the record to be present in makeRankingUpdateForListener, however, if the ranking object is created before the post to the handler, then no cloning is necessary. Depends-On: I907a1ff28123219db1c08889d723ad1b70b191ab Change-Id: I51fcf689ddbee7715e3387b865f18a715887c943
* Merge "SysUI: Fix bug where ZEN notification icon was shown" into ↵Christoph Studer2014-05-281-2/+1
|\ | | | | | | lmp-preview-dev
| * SysUI: Fix bug where ZEN notification icon was shownChristoph Studer2014-05-281-2/+1
| | | | | | | | | | Bug: 15303664 Change-Id: I295293e62ee878be9b4aa7b13e0c014f935072ca
* | SysUI: Reflect notification rankingChristoph Studer2014-05-281-4/+4
|/ | | | | | | Respect the ranking received via NotificationListenerService. Bug: 15131411 Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216
* SysUI: Implement NotificationListenerService in StatusBarChristoph Studer2014-05-221-4/+4
| | | | | | This is currently disabled by constant that is off. Bug: 15131411 Change-Id: I0da6e5b3b81c87004f0794d3056c4cf0ecbb1d61
* SysUI: Use SBN keys instead of IBinder keys DO NOT MERGEChristoph Studer2014-05-221-17/+15
| | | | | | | | | | In preparation of migrating to NotificationListenerService, remove dependence on IBinder keys for notifications and switch to SBN.getKey() instead. Bug: 15131411 Change-Id: Ic272e4a05fde6481c734144c5b34c49b2f021649 (cherry picked from commit 7c96ae873d9a54ebaeb5b7ef21b48224dc42d094)
* Display intercepted notifications if configured.John Spurlock2014-05-211-0/+7
| | | | | | | Don't suppress notifications if the user has configured them to display, even in zen mode. Change-Id: Ief549164cafd0922726feaeaf2029b8840dcf735
* QuickSettings: Remove vector drawable runtime processing.John Spurlock2014-05-181-1/+1
| | | | | | | | | | | | Remove temporary harness responsible for creating enabled/disabled versions of vectors at runtime. Instead, pre-compute the necessary states as separate files. Normalize all qs icon names, cleanup obsolete pngs, and replace the DND hangtag. Bug:14133785 Change-Id: Ifb58635b832d25ca1de7e9f79cf8ec3503ea8cec
* Flatten notification hiearchy and remove glow.Jorim Jaggi2014-04-281-1/+1
| | | | | | | | | | | | Currently, the padding and the glow was inside the individual notification. This no longer works if we want to adjust the padding dynamically whether we are on Keyguard or not. This change moves the padding outside of the individual notifications, and as a side effect, removes the glow. The glow wasn't really visible with the new layout, so it's not a breaking change. We have to discuss with UX first what the new "glow" solution is going to be. Change-Id: Iac16892cb3b7bb1de3001954b1428796b07950c1
* Put suppressed notifications behind a summary notification.John Spurlock2014-04-091-0/+119
Bug:13726563 Change-Id: Ib1c3fba3a328792dc674c8403735f75d4db41973