Fix visibility of meeting invite controls
* Was checking for any meeting related email * Changed to look specifically for incoming meeting invites * Bug noticed during debugging Change-Id: I8f43d7a506939dbfc0504f96b249e5c17107bf47
This commit is contained in:
parent
d12bb138b0
commit
438dfe64ec
@ -1288,7 +1288,8 @@ public class MessageView extends Activity implements OnClickListener {
|
||||
mCcContainerView.setVisibility((friendlyCc != null) ? View.VISIBLE : View.GONE);
|
||||
mAttachmentIcon.setVisibility(message.mAttachments != null ? View.VISIBLE : View.GONE);
|
||||
mFavoriteIcon.setImageDrawable(message.mFlagFavorite ? mFavoriteIconOn : mFavoriteIconOff);
|
||||
mInviteSection.setVisibility(!TextUtils.isEmpty(message.mMeetingInfo) ?
|
||||
// Show the message invite section if we're an incoming meeting invitation only
|
||||
mInviteSection.setVisibility((message.mFlags & Message.FLAG_INCOMING_MEETING_INVITE) != 0 ?
|
||||
View.VISIBLE : View.GONE);
|
||||
|
||||
// Handle partially-loaded email, as follows:
|
||||
|
Loading…
Reference in New Issue
Block a user