Go to file
Todd Kennedy 83693a6aca Use observers to manage new message notifications
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
2011-05-10 15:36:07 -07:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
docs auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
emailcommon Use observers to manage new message notifications 2011-05-10 15:36:07 -07:00
images auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
res Add 1-pane UI controller 2011-05-10 11:28:00 -07:00
src/com Use observers to manage new message notifications 2011-05-10 15:36:07 -07:00
tests Use observers to manage new message notifications 2011-05-10 15:36:07 -07:00
.classpath Initial Contribution 2008-10-21 07:00:00 -07:00
.project Initial Contribution 2008-10-21 07:00:00 -07:00
Android.mk Include guava in Email. 2011-04-14 13:49:01 -07:00
AndroidManifest.xml Remove deprecated strings 2011-05-05 12:14:41 -07:00
CleanSpec.mk Remove notification if messages seen off device 2011-05-05 12:00:27 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:32:22 -08:00
proguard.flags Fix unit tests 2011-04-28 17:31:53 -07:00
remove-exchange-support.sh remove-exchange-support.sh supports MacOS 2011-01-28 13:39:39 -08:00