summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/AllInOneActivity.java
diff options
context:
space:
mode:
authorIsaac Katzenelson <isaack@android.com>2012-06-20 14:46:52 -0700
committerIsaac Katzenelson <isaack@android.com>2012-06-20 14:53:51 -0700
commit98c8add7f42469d797bf77e145e5fd091e5539df (patch)
treedcf8e06e698555703533a17d5c20afd057546592 /src/com/android/calendar/AllInOneActivity.java
parent094e99c933d7931450cead1cc61cef334591d0f2 (diff)
downloadandroid_packages_apps_Calendar-98c8add7f42469d797bf77e145e5fd091e5539df.tar.gz
android_packages_apps_Calendar-98c8add7f42469d797bf77e145e5fd091e5539df.tar.bz2
android_packages_apps_Calendar-98c8add7f42469d797bf77e145e5fd091e5539df.zip
Populate user's selection from gmail invite
Bug: 6702756 When answering a calendar invite in Gmail, the Calendar app should open up with the answer pre-populated Change-Id: Ic6cffa66b71e8750a314a085cb4443287b86bb0e
Diffstat (limited to 'src/com/android/calendar/AllInOneActivity.java')
-rw-r--r--src/com/android/calendar/AllInOneActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/calendar/AllInOneActivity.java b/src/com/android/calendar/AllInOneActivity.java
index 5bc59744..6ed87ea9 100644
--- a/src/com/android/calendar/AllInOneActivity.java
+++ b/src/com/android/calendar/AllInOneActivity.java
@@ -20,7 +20,6 @@ import static android.provider.CalendarContract.EXTRA_EVENT_ALL_DAY;
import static android.provider.CalendarContract.EXTRA_EVENT_BEGIN_TIME;
import static android.provider.CalendarContract.EXTRA_EVENT_END_TIME;
import static android.provider.CalendarContract.Attendees.ATTENDEE_STATUS;
-import static com.android.calendar.CalendarController.EVENT_ATTENDEE_RESPONSE;
import android.accounts.AccountManager;
import android.accounts.AccountManagerCallback;
@@ -1191,7 +1190,7 @@ public class AllInOneActivity extends Activity implements EventHandler,
Intent.FLAG_ACTIVITY_SINGLE_TOP);
intent.putExtra(EXTRA_EVENT_BEGIN_TIME, event.startTime.toMillis(false));
intent.putExtra(EXTRA_EVENT_END_TIME, event.endTime.toMillis(false));
- intent.putExtra(EVENT_ATTENDEE_RESPONSE, response);
+ intent.putExtra(ATTENDEE_STATUS, response);
startActivity(intent);
} else {
// start event info as a dialog