am 50bf7109: Merge "Like Gmail, we only want to set activated text to a diff color for two pane."

* commit '50bf710937d1915d4e65d3aa19cf58a764be8e38':
  Like Gmail, we only want to set activated text to a diff color for two pane.
This commit is contained in:
Mindy Pereira 2011-12-02 14:29:14 -08:00 committed by Android Git Automerger
commit 352faa3515

View File

@ -418,7 +418,8 @@ public class MessageListItem extends View {
}
private int getFontColor(int defaultColor) {
return isActivated() ? ACTIVATED_TEXT_COLOR : defaultColor;
return isActivated() && MessageListItemCoordinates.isMultiPane(mContext) ?
ACTIVATED_TEXT_COLOR : defaultColor;
}
@Override