22d1a794cd
- 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 |
||
---|---|---|
.. | ||
btn_invite_maybe.xml | ||
btn_invite_no.xml | ||
btn_invite_yes.xml | ||
menu_item_newer.xml | ||
menu_item_older.xml | ||
message_header_bg.xml | ||
message_list_item_background_read.xml | ||
message_list_item_background_unread.xml | ||
message_list_read_selector.xml | ||
message_list_unread_selector.xml | ||
message_list_wide_read_selector.xml | ||
message_list_wide_unread_selector.xml | ||
widget_header_bg.xml | ||
widget_read_conversation_selector.xml | ||
widget_unread_conversation_selector.xml |