summaryrefslogtreecommitdiffstats
path: root/src/com/android/calendar/DeleteEventHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Calendar: Selected item should be selected after rotationkaiyiz2015-10-181-0/+4
| | | | | | | | | | | | It dismiss dialog when activity pause and create a new one when it resume, but didn't save the selected state. Save the selected state, and resotre the state when create the dialog. CRs-Fixed: 428296 Change-Id: Ia6df7cccc3914057f6b1d9e7dced596486b995d3
* Rename calendarcommon to calendarcommon2 to workaround OEM sillinessMichael Chan2012-06-261-1/+1
| | | | Change-Id: I4c23023efd9df768da15160e007a0452ac23f7d6
* Add title to recurring event delete dialog.Mindy Pereira2012-05-101-0/+2
| | | | | | Fixes b/5681424 On tablet, after deleting a recurring event the pop-up that shows up doesn't have a title Change-Id: I19d50358bf2d1122a80898278b26118013b96901
* Keep delete confirmation dialog on rotation.Isaac Katzenelson2011-10-241-0/+18
| | | | | Bug: 5216833 Delete confirmation popup window disappear after orientation change Change-Id: If3ddb3aa90688681fa48ef31e6dff1102b4a7149
* Prevent saving reminders when event is deletedIsaac Katzenelson2011-10-141-0/+20
| | | | | Bug: 5445751 Calendar provider crash in duplicateEvent Change-Id: Idf251b192c77206151d14af8b61396ec02113450
* b/5452269 Remove delete from dialog titles.Michael Chan2011-10-131-2/+2
| | | | | | Deleted unused strings Change-Id: Ib90385381ce795e230cd865e23315585e8515a70
* b/3296789 Don't show 'this and future' in delete for guestsRoboErik2011-09-271-18/+37
| | | | | | | | | gcal doesn't support guests doing a delete on 'this and future events' so we have to hide that option for guests. This also swaps the order of registering a listener and starting a query as a just in case guard against a race condition. Change-Id: I19e6dfb9655aecb04f4dd1df41c2c4ec34ec85f9
* b/5267912 Fix NPEMichael Chan2011-09-071-4/+0
| | | | | | | | | at com.android.calendar.AsyncQueryService.startQuery(AsyncQueryService.java:173) at com.android.calendar.DeleteEventHelper.delete(DeleteEventHelper.java:196) at com.android.calendar.DeleteEventHelper.delete(DeleteEventHelper.java:204) at com.android.calendar.EventInfoFragment$3.onClick(EventInfoFragment.java:596) Change-Id: Id2207fed2cdb6d57a94c74f827d987c0617da881
* b/5137544 Put original_id in the cancelation exception valuesRoboErik2011-08-091-0/+1
| | | | Change-Id: Ib5cced1946d3fa787a30e0b930bb946e789a9b68
* b/5063456 Fix event changes checks to be less agressiveRoboErik2011-07-211-1/+1
| | | | Change-Id: I09571289e45a753875b3e8117027c1a95f33520b
* Relocate common Calendar classesAndy McFadden2011-07-081-1/+1
| | | | | | | | | | Move some classes from android.pim to com.android.calendarcommon. Switch Calendar app to build unbundled. Bug 4575374 Change-Id: I3c344364b8fa82be1fbc21b0d1d2628957d8d07e
* Rename Calendar.java to CalendarContract.javaRoboErik2011-06-141-8/+8
| | | | Change-Id: Ia6692454099322f6891b326b2c1ad919c13026b7
* Update calendars table to v300RoboErik2011-05-101-1/+1
| | | | | | See change I515b3e0a for more details Change-Id: Iee64f3868e4109ceb1cebf0503fdf7b818ffe305
* b/4155301 put original allday into cancel exceptionsRoboErik2011-04-081-0/+1
| | | | | | Was causing an exchange bug with yearly recurring events. Change-Id: I4269e677fdc66b2f38a5da50ce6f073352c6248d
* b/3309505 Changes 'Done' to 'Delete' in event info popupErik2011-01-191-0/+16
| | | | Change-Id: I4bd492f9a5e6f41796987227f013565d57601c59
* b/3363020 Changes alert asset to use light themeErik2011-01-181-13/+9
| | | | | | Updates our setIcon calls for alert messages. Change-Id: Ia65038748f594f8f98dc12f602f676b79bac8e8f
* b/3299524 Added defensive code to handle null values for duration and rruleMichael Chan2010-12-201-1/+2
| | | | Change-Id: I84650163d1df944691c0a0943f30759473498c57
* Moved EditEvent into a sub package.Erik2010-08-161-3/+5
| | | | Change-Id: I4bba4ec6651ec90f8d0a7c83c76340ed080178f0
* Refactor DeleteEventHelper to allow null activities if exitWhenDone is false.Michael Chan2010-07-011-7/+14
| | | | Change-Id: I000d009934f2f2cdefd35db47b5bb7526d7cec23
* Remove EditEvent.java and update all references.Erik2010-06-241-2/+5
| | | | | | | Also fixes some menu inconsistencies between editing a recurring event and deleting a recurring event. Change-Id: I61eb9b3b97d4a127efbfdc377485d1fcb32e49fb
* Switches EditEventHelper to use AsyncQueryServiceErik2010-06-231-12/+13
| | | | | | | | | | This change backgrounds the batch save used in EditEventHelper and the queries in the EditEventActivity. It also creates an abstract CalendarActivity with a call for lazy creation/access of an AsyncQueryService object from the activity. Also changes setting duration to prefer using the start and end to a pre-existing change to fix b/2789706. Change-Id: If7fe94086f2a5dcfa34dd208358fada370d0bfde
* Changes to DeleteEventHelper to make it asyncErik2010-06-221-57/+57
| | | | | | | | This changes DeleteEventHelper to be able to use a CalendarEventModel when doing deletes and to use all asynchronous calls for creating deletes/inserts/queries. Change-Id: I83fbf1ec0e58ddfc7913b18bf20737bf60c04c47
* b/2633629 Makes deleting an exception set it to canceledErik2010-04-271-4/+43
| | | | | | | | Instead of deleting exceptions we just want to mark them as canceled so the UI will hide them. Incremental instance expansion for changes in the eventStatus are still needed to make this a smooth operation. Change-Id: Id00656e4613ab384f094d4f2b4a75a9d0979c59f
* Revert "b/2622128 Exception events now get updated to be 'canceled' when ↵Erik2010-04-261-40/+4
| | | | | | | deleted" This reverts commit a9dd45e7a7f422c3c7d74f10d1e65880c181d43b. Moving to master instead of Froyo.
* Revert "b/2622128 Fix crash from editEvent and EventInfoActivity"Erik2010-04-261-3/+0
| | | | | This reverts commit b6a9b7130b754ef2c965a4ddb6134bc82e8a605c. Moving this to master instead of froyo.
* b/2622128 Fix crash from editEvent and EventInfoActivityErik2010-04-231-0/+3
| | | | | | | those two activities perform their own query and I didn't add the originalEvent column to them for previous fix. Change-Id: Ib26c22015599b453e5c7a4b3bc485b11bbb41166
* b/2622128 Exception events now get updated to be 'canceled' when deletedErik2010-04-231-4/+40
| | | | | | | | | Added some checking to the delete helper to make exception events have their status changed instead of just being removed. This will cause them to hide the instance of an exception that they represent. Previously that instance was being replaced by the original recurrence after the event was removed. Change-Id: If80e1ccb31af901f4d01d09d18e4850d4b763a57
* First step in unbundling CalendarMichael Chan2010-02-031-29/+29
| | | | Change-Id: I12cf0e4141c069514dec78344592532848983abc
* findbug fixesMichael Chan2009-05-141-2/+0
| | | | | | | | | | | | | | | | modified: src/com/android/calendar/AgendaActivity.java modified: src/com/android/calendar/AgendaAdapter.java modified: src/com/android/calendar/CalendarActivity.java modified: src/com/android/calendar/CalendarApplication.java modified: src/com/android/calendar/CalendarView.java modified: src/com/android/calendar/DeleteEventHelper.java modified: src/com/android/calendar/EditEvent.java modified: src/com/android/calendar/Event.java modified: src/com/android/calendar/EventInfoActivity.java modified: src/com/android/calendar/IcsImportActivity.java modified: src/com/android/calendar/MonthActivity.java modified: tests/src/com/android/calendar/FormatDateRangeTest.java modified: tests/src/com/android/calendar/WeekNumberTest.java
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-4/+6
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+344
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-344/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-1/+14
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-10/+35
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+306