Merge "Marking a conversation unread forces a return to the list." into jb-ub-mail
diff --git a/src/com/android/mail/ui/TwoPaneController.java b/src/com/android/mail/ui/TwoPaneController.java
index 6b01f0d..3fd9bfe 100644
--- a/src/com/android/mail/ui/TwoPaneController.java
+++ b/src/com/android/mail/ui/TwoPaneController.java
@@ -163,6 +163,15 @@
}
@Override
+ public void onFolderChanged(Folder folder) {
+ super.onFolderChanged(folder);
+ final FolderListFragment folderList = getFolderListFragment();
+ if (folderList != null) {
+ folderList.selectFolder(folder);
+ }
+ }
+
+ @Override
public void onFolderSelected(Folder folder, boolean childView) {
if (!childView && folder.hasChildren) {
// Replace this fragment with a new FolderListFragment