Proposed fix for "unreopenable" folders bug

This commit is contained in:
Jesse Vincent 2009-05-05 03:15:07 +00:00
parent fb7882411e
commit 4ed1c82855

View file

@ -694,7 +694,7 @@ public class FolderMessageList extends ExpandableListActivity
Log.i(Email.LOG_TAG, "onGroupExpand(" + groupPosition + "), mRestoringState = " + mRestoringState);
super.onGroupExpand(groupPosition);
if (mExpandedGroup != -1)
if (mExpandedGroup != -1 && mExpandedGroup != groupPosition)
{
mListView.collapseGroup(mExpandedGroup);
}