summaryrefslogtreecommitdiff
path: root/tests/src/com/android/email/NotificationControllerTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Disable, suppress, remove broken and obsolete Email testsJerry Xie2013-12-161-0/+2
| | | | Change-Id: Ia4dcba1c6966f23dd2a15e69324b7345aed8f944
* Get Email units to compileJerry Xie2013-12-051-167/+4
| | | | Change-Id: I171a0e2421c5006d9862ad94f886932146547020
* Change Email vibrate setting from tri-state to checkboxScott Kennedy2012-11-291-45/+6
| | | | | | | | | | | Migrate the old value as necessary. Update the unit tests. Cherry-picked from I1c276ffde3496cbc66846ed4a007088d39f20382 with minor changes. Bug: 7624838 Change-Id: I1b3fa331b62f556701bacba5ce9cd64305d9b52a
* Revert to old Email appMarc Blank2012-04-251-3/+3
| | | | | | * These are the last sources in the ICS-MR1 tree Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
* Notify by mailbox, rather than accountMarc Blank2012-02-241-3/+3
| | | | | | | * Update EmailProvider, removing two no-longer-used columns in Account and Mailbox Change-Id: Ie0f10eb0ca315d73e82be968f7760a51a239ba3f
* Fix notification issues.Ben Komalo2011-07-221-8/+8
| | | | | | | | | | | | | | | - use title as ticker text - also properly play notification sounds on new messages. Before, if you left a notification unread, and a new message comes in, no sound would be played. Since fixing that, it introduces another issue where on initial sync, tons of new messages come in (and the sync could take > 1 min). We throttle them with a 15 second interval. The notification is always updated to reflect the most up to date information, but sounds will never be played closer than 15 seconds together. Bug: 5020191 Bug: 5067059 Change-Id: I5ca474fd3b210ee856035bd78bd72931da80fe40
* Update notification text according to designBen Komalo2011-06-231-21/+3
| | | | | | | - "UNSEEN new messages" is the title for multiple new messages - the small number in the right shows the unread count Change-Id: I48f761b727ea8abc9277d737a08789fa63d10871
* Move Account into its own top-level classMarc Blank2011-06-131-1/+1
| | | | Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
* Move Mailbox to top level class.Ben Komalo2011-05-131-1/+1
| | | | | | No other changes made. Change-Id: I3d8f3c521dc0d902be313b25252b4b6a4a96e7ee
* Open message if only one message in notificationTodd Kennedy2011-05-131-3/+3
| | | | | | | | If there is only one unread&unseen message in the notification, clicking the notification will automatically open the message view fragment. Otherwise, the message list fragment will be opened. Change-Id: I22778258836a36f289d71b99a6214ec82778f385
* Use observers to manage new message notificationsTodd Kennedy2011-05-101-3/+3
| | | | | | | | | | | | | | | | | | We were sort of using observers to maintain the new message notifications. However, other parts of the code would poke into the notification controller to set things such as a list of newly added message IDs. Now, we rely exclusively on db observers to manage notifications. As a side effect of this, we now set the notification text correctly to be the most recently _added_ message. This may be different than the most recently sent message [since there may be a non-negligable delta between when the message was sent and when it was received]. NOTE this still suffers from an outstanding bug where we continue to get notifications when the Eamil UX is visible. That and monitoring changes to the account table will be addressed in future CLs. Change-Id: I4c68273716cc685574a1ca71e5d634f53fe0d882
* Remove notification if messages seen off deviceTodd Kennedy2011-05-051-3/+3
| | | | | | | | If we receive new messages, we may display a notification to the user. If those same messages are read elsewhere (i.e. via a web client), we will remove the notification. Change-Id: Iba09afe01942e0deaac8210fd6f9b315b1c8c93f
* basic code cleanup of the notification controllerTodd Kennedy2011-04-281-45/+56
| | | | | | | | | * javadoc methods * rename some methods * remove duplicate code; now new message and other account notifications are created with the same code Change-Id: Iecf70494b6407a9a73380de103390a59d006191b
* Fix NPE in NotificationControllerMakoto Onuki2011-03-091-0/+18
| | | | | | | | This would happen when a message has no from addresses. Bug 4027170 Change-Id: I1da091a6a55b274805ee6b3e109cbeb55a21fae1
* Email split, part six: EmailContentMarc Blank2011-02-101-3/+3
| | | | | | * Moved EmailContent to emailcommon Change-Id: Ib3db1bfcfe74554c0e5afd3cfce6d72f26e9aeb9
* New style for the new message notificationMakoto Onuki2010-12-061-0/+244
Bug 3176956 Change-Id: Id7418fb8bb942230266815167f0a2e79062a9116