Merge "Fix bug that prevents from accepting 2 invites in a row."
This commit is contained in:
commit
0efbee2bd0
@ -17,6 +17,8 @@
|
||||
package com.android.emailcommon.service;
|
||||
|
||||
public class EmailServiceConstants {
|
||||
/** "Not responded yet", used ONLY for UI. */
|
||||
public static final int MEETING_REQUEST_NOT_RESPONDED = 0;
|
||||
public static final int MEETING_REQUEST_ACCEPTED = 1;
|
||||
public static final int MEETING_REQUEST_TENTATIVE = 2;
|
||||
public static final int MEETING_REQUEST_DECLINED = 3;
|
||||
|
@ -62,11 +62,11 @@ public class MessageViewFragment extends MessageViewFragmentBase
|
||||
private CheckBox mMeetingYes;
|
||||
private CheckBox mMeetingMaybe;
|
||||
private CheckBox mMeetingNo;
|
||||
private int mPreviousMeetingResponse = -1;
|
||||
|
||||
private Drawable mFavoriteIconOn;
|
||||
private Drawable mFavoriteIconOff;
|
||||
|
||||
private int mPreviousMeetingResponse = EmailServiceConstants.MEETING_REQUEST_NOT_RESPONDED;
|
||||
|
||||
/**
|
||||
* ID of the message that will be loaded. Protect with {@link #mLock}.
|
||||
*/
|
||||
@ -233,6 +233,7 @@ public class MessageViewFragment extends MessageViewFragmentBase
|
||||
mMeetingYes.setChecked(false);
|
||||
mMeetingNo.setChecked(false);
|
||||
mMeetingMaybe.setChecked(false);
|
||||
mPreviousMeetingResponse = EmailServiceConstants.MEETING_REQUEST_NOT_RESPONDED;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user