Go to file
Makoto Onuki 22d1a794cd Newer/older + auto-advance for one-pane
- Moved MessageOrderManager code from 2-pabe to the base class.
- Most of the code is shared between 1-pane and 2-pane.

- Also fixed the bug where we re-created MessageOrderManager every time
the user taps newer/older, which was the reson the newer/older button
temporarily got disabled when you tapped them.
Before this CL we stopped MOM in uninstallMessageViewFragment, but now that
we don't reuse fragments this means we stops MOM when we remove the current
message view, and re-created a new one when a new message view is created.
Now we stop MOM when the right pane gets hidden (2pane) or when showing
the mailbox/message list (1pane).

- Also removed a now unused callback onMessageShown() from MessageViewFragment.
We used to update MOM on this event, but now we do this in
installMessageViweFramgment().

Bug 4575586

Change-Id: Idc4aba184f318e0c086afc29dcbe42364e2b51b3
2011-06-29 17:29:29 -07:00
assets Remove empty.html, which isn't used any more. 2010-12-22 11:59:31 -08:00
emailcommon Remove more useless code 2011-06-29 14:07:25 -07:00
res Newer/older + auto-advance for one-pane 2011-06-29 17:29:29 -07:00
src/com Newer/older + auto-advance for one-pane 2011-06-29 17:29:29 -07:00
tests Remove more useless code 2011-06-29 14:07:25 -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 Integrate chips into Email. 2011-06-16 17:41:04 -07:00
AndroidManifest.xml Merge "Revert "Make EmailActivity the default activity."" 2011-06-21 15:06:39 -07:00
CleanSpec.mk Step 2 in 7" support for tablets. 2011-05-25 15:44:41 -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 Remove more useless code 2011-06-29 14:07:25 -07:00
remove-exchange-support.sh remove-exchange-support.sh supports MacOS 2011-01-28 13:39:39 -08:00