aboutsummaryrefslogtreecommitdiffstats
path: root/cgeo-calendar
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-05-07 14:49:57 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-05-07 14:53:06 +0200
commit93aed3e08ab73fc49e833ca86289e5cc8d97c26e (patch)
treeb9fa5ff1ae4df85e8566a2d8548a8669e9c3b0d5 /cgeo-calendar
parentd3420079ef3637ab25700b9d5807e98fa352d626 (diff)
downloadcgeo-93aed3e08ab73fc49e833ca86289e5cc8d97c26e.zip
cgeo-93aed3e08ab73fc49e833ca86289e5cc8d97c26e.tar.gz
cgeo-93aed3e08ab73fc49e833ca86289e5cc8d97c26e.tar.bz2
Revert "Merge pull request #1510 from campbeb/fix1498"
This reverts commit 9fe5380612eef5a10ffc18ca6409788e174bbf24, reversing changes made to 08fcbb42d1fd4ca3b6e2fb608007feec9aa4e23d. Requested by the commit author.
Diffstat (limited to 'cgeo-calendar')
-rw-r--r--cgeo-calendar/src/cgeo/calendar/CalendarActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgeo-calendar/src/cgeo/calendar/CalendarActivity.java b/cgeo-calendar/src/cgeo/calendar/CalendarActivity.java
index a6c5f0b..15b5872 100644
--- a/cgeo-calendar/src/cgeo/calendar/CalendarActivity.java
+++ b/cgeo-calendar/src/cgeo/calendar/CalendarActivity.java
@@ -258,7 +258,7 @@ public final class CalendarActivity extends Activity {
* targetSdkVersion changes to 14. For example CalendarContract.EXTRA_EVENT_BEGIN_TIME and
* Events.TITLE
*/
- final Intent intent = new Intent(Intent.ACTION_EDIT)
+ final Intent intent = new Intent(Intent.ACTION_INSERT)
.setData(Compatibility.getCalendarEventsProviderURI())
.putExtra("beginTime", eventDate.getTime() + 43200000)
.putExtra("allDay", true)