9 years agohandle the case where the subscribed feeds provider is not present master
Fred Quintana [Thu, 12 Nov 2009 20:30:17 +0000]
handle the case where the subscribed feeds provider is not present

9 years agomerge from eclair
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:06:59 +0000]
merge from eclair

9 years agoeclair snapshot tegra-9.12.5 tegra-9.12.5-baseline tegra-9.12.6 tegra-9.12.6-baseline
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:46:13 +0000]
eclair snapshot

9 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:16 +0000]
merge from donut

9 years agoClose cursors in SyncCalendarTest.
Brett Chabot [Fri, 14 Aug 2009 07:12:58 +0000]
Close cursors in SyncCalendarTest.

BUG 2040084

9 years agoAdopt new AppWidget assets, per http://b/2038594.
Jeff Sharkey [Fri, 7 Aug 2009 05:09:44 +0000]
Adopt new AppWidget assets, per http://b/2038594.

9 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 3 Aug 2009 23:30:03 +0000]
Import revised translations.  DO NOT MERGE

9 years agomerge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:07 +0000]
merge from donut

9 years agoMerge korg/donut into korg/master
Jean-Baptiste Queru [Sun, 26 Jul 2009 00:48:03 +0000]
Merge korg/donut into korg/master

9 years agoMerge change 7630 into donut
Android (Google) Code Review [Fri, 17 Jul 2009 16:17:41 +0000]
Merge change 7630 into donut

* changes:
  b/1915565 Fixed ANR when snoozing or dismissing calendar notifications

9 years agob/1915565 Fixed ANR when snoozing or dismissing calendar notifications
Michael Chan [Fri, 17 Jul 2009 00:40:12 +0000]
b/1915565 Fixed ANR when snoozing or dismissing calendar notifications

DB calls are all moved from the UI thread to a background thread.

9 years agob/1972231 Fixed the problem where the calendar was not showing the next event when...
Michael Chan [Wed, 15 Jul 2009 03:47:44 +0000]
b/1972231 Fixed the problem where the calendar was not showing the next event when launched from widget

9 years agoImport new translations
Eric Fischer [Mon, 13 Jul 2009 22:54:06 +0000]
Import new translations

9 years agoAdded Calendar Sync tests support for sync suite
Swarna Kumar [Wed, 10 Jun 2009 22:57:03 +0000]
Added Calendar Sync tests support for sync suite

9 years agoMake name of Calendar Provider localizable.
Eric Fischer [Tue, 16 Jun 2009 23:33:53 +0000]
Make name of Calendar Provider localizable.

9 years agoam 6c1de36d: AI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:30:06 +0000]
am 6c1de36d: AI 149721: Import Portuguese translations.

Merge commit '6c1de36d4021ed6986bdbc8cc664fa08f6bc0ee6' into donut

* commit '6c1de36d4021ed6986bdbc8cc664fa08f6bc0ee6':
  AI 149721: Import Portuguese translations.

9 years agoAI 149721: Import Portuguese translations.
Eric Fischer [Wed, 10 Jun 2009 19:26:09 +0000]
AI 149721: Import Portuguese translations.

Automated import of CL 149721

9 years agoRevert "Port SyncCalendar Tests from the 1.0 release tree to Donut Client."
Swarna Kumar [Tue, 9 Jun 2009 00:04:35 +0000]
Revert "Port SyncCalendar Tests from the 1.0 release tree to Donut Client."

This reverts commit 090d33dc85fe791ff0a9876b19770428cd678e03.

9 years agoPort SyncCalendar Tests from the 1.0 release tree to Donut Client.
Swarna Kumar [Thu, 4 Jun 2009 00:58:58 +0000]
Port SyncCalendar Tests from the 1.0 release tree to Donut Client.

9 years agoMerge change 1722 into donut
Android (Google) Code Review [Mon, 18 May 2009 21:30:46 +0000]
Merge change 1722 into donut

* changes:
  Handle null timezone.

9 years agoHandle null timezone.
Ken Shirriff [Fri, 15 May 2009 00:10:19 +0000]
Handle null timezone.

If an event has null timezone, set the timezone to the device's timezone.

bug=1604419

9 years agoFixed bug 1850510: missing recurrence exception event
Ken Shirriff [Thu, 14 May 2009 00:28:02 +0000]
Fixed bug 1850510: missing recurrence exception event

The old code skipped an exception if the original recurrence instance
wasn't present.  The benefit of this is that exceptions will disappear
as soon as a recurrence is deleted or truncated.  (After talking to the
server, the exception will be tombstoned, so this is an optimization.)

The problem with the old code is if the original recurrence instance is
outside the expansion window, it will not be present in the list, so the
exception will be erroneously dropped.

This fix just removes the code to drop exceptions when the original instance
is not present.  If the old behavior is desirable, the code will need to
expand the original recurrence around the original instance time (not the
current window) to see if it is present.

This change also adds a couple additional regression tests.  It also changes
an existing test to add the server-side cancel message (since otherwise the
test won't pass after this change).  Some additional logging is added to
the unittest when the test fails.

9 years agoAdd incremental instance expansion.
Ken Shirriff [Fri, 1 May 2009 17:04:47 +0000]
Add incremental instance expansion.

The idea is for modifications to a recurrence or recurrence exception, instead
of discarding the entire instance table, only the instances related to that
recurrence are deleted, and then the instances related to that recurrence
are re-created.

bug=1655299

9 years agoRefactor expandInstanceRangeLocked
Ken Shirriff [Wed, 29 Apr 2009 22:56:44 +0000]
Refactor expandInstanceRangeLocked

Split into getEvents to perform database lookup and
performInstanceExpansion to do the actual instance expansion.  Remove some
dead code.  Clean up try/catch so an error will just affect the specific
bad event.

9 years agoMerge commit 'korg/donut'
The Android Open Source Project [Fri, 24 Apr 2009 20:55:03 +0000]
Merge commit 'korg/donut'

9 years agoMerge change 366 into donut
Android (Google) Code Review [Thu, 23 Apr 2009 21:37:12 +0000]
Merge change 366 into donut

* changes:
  Filter bad calendar events.

9 years agomerge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:57:00 +0000]
merge cupcake into donut

9 years agoFilter bad calendar events.
Ken Shirriff [Tue, 21 Apr 2009 18:05:23 +0000]
Filter bad calendar events.

Events expanded beyond 2038 were causing eventStatus crashes.

Events past 2038 were getting inserted into the database with a dtstart of -1
and lastDate of NULL.  This caused the SQL query in expandInstanceRangeLocked
to pick up the event.  Then, because dtendMillis was < end, the code assumed
it must be a recurrence exception and canceled it.  The later code that
removes recurrence exceptions ignored the event because it wasn't a recurrence
exception, leaving the cancel in the ContentValues, causing a database error.
Thus, multiple errors had to exist to cause this bug.

The bug is no longer active, since some of the steps in the chain of events
have already been fixed.  This change fixes the step that assumes the
event is a recurrence exception, which will make the code more robust.

Bug: 1705312

10 years agoDocument instance invariants
Ken Shirriff [Mon, 20 Apr 2009 19:20:05 +0000]
Document instance invariants

Add comments to document invariants in expandInstanceRangeLocked

10 years agoAI 146365: Import revised translations.
Eric Fischer [Wed, 15 Apr 2009 20:30:20 +0000]
AI 146365: Import revised translations.
  DO NOT MERGE

Automated import of CL 146365

10 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Wed, 15 Apr 2009 01:18:16 +0000]
Merge commit 'korg/cupcake'

10 years agoMake Calendar widget treat multi-day events the same as allDay.
Jeff Sharkey [Tue, 7 Apr 2009 00:07:57 +0000]
Make Calendar widget treat multi-day events the same as allDay.

Events that start mid-day and span multiple days are not assigned the allDay flag, and were being treated as normal events.  This caused us to show the same event on the calendar widget for several days, until half-way through the multi-day event.

This change treats any events with duration longer than a single day as allDay events, which triggers a widget change at the event start instead of half-way through the event.

http://b/issue?id=1772674

10 years agoAI 144977: Import revised translations.
Eric Fischer [Wed, 8 Apr 2009 01:15:16 +0000]
AI 144977: Import revised translations.
  DO NOT MERGE

Automated import of CL 144977

10 years agoAI 144137: am: CL 144136 Make calendar widget correctly launch Calendar app instead...
Jeffrey Sharkey [Wed, 1 Apr 2009 23:07:48 +0000]
AI 144137: am: CL 144136 Make calendar widget correctly launch Calendar app instead of creating a second task stack.
  Fixes the following issues:
  - Calendar widget and calendar icon always launch to a specific calendar view--the view last selected by user.
  - Launching from both widget and app icon clears any existing activity stacks.
  - We correctly keeps the stack history when switching between activities using long-press-home-hardkey
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 144137

10 years agoAI 144136: Make calendar widget correctly launch Calendar app instead of creating...
Jeffrey Sharkey [Wed, 1 Apr 2009 23:06:21 +0000]
AI 144136: Make calendar widget correctly launch Calendar app instead of creating a second task stack.
  Fixes the following issues:
  - Calendar widget and calendar icon always launch to a specific calendar view--the view last selected by user.
  - Launching from both widget and app icon clears any existing activity stacks.
  - We correctly keeps the stack history when switching between activities using long-press-home-hardkey
  BUG=1752489

Automated import of CL 144136

10 years agoAI 144068: am: CL 144067 Make Calendar widget launch into last-shown-mode to match...
Jeffrey Sharkey [Wed, 1 Apr 2009 20:54:13 +0000]
AI 144068: am: CL 144067 Make Calendar widget launch into last-shown-mode to match behavior of Calendar app icon.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 144068

10 years agoAI 144067: Make Calendar widget launch into last-shown-mode to match behavior of...
Jeffrey Sharkey [Wed, 1 Apr 2009 20:51:43 +0000]
AI 144067: Make Calendar widget launch into last-shown-mode to match behavior of Calendar app icon.
  BUG=1752044

Automated import of CL 144067

10 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Fri, 27 Mar 2009 22:31:13 +0000]
Merge commit 'korg/cupcake'

10 years agoAutomated import from //branches/donutburger/...@142721,142721
Jeffrey Sharkey [Thu, 26 Mar 2009 00:07:33 +0000]
Automated import from //branches/donutburger/...@142721,142721

10 years agoAutomated import from //branches/cupcake/...@142649,142649
Jeffrey Sharkey [Wed, 25 Mar 2009 22:23:55 +0000]
Automated import from //branches/cupcake/...@142649,142649

10 years agoAutomated import from //branches/donutburger/...@142122,142122
Jeffrey Sharkey [Wed, 25 Mar 2009 04:28:52 +0000]
Automated import from //branches/donutburger/...@142122,142122

10 years agoAutomated import from //branches/donutburger/...@141868,141868
Eric Fischer [Wed, 25 Mar 2009 04:02:57 +0000]
Automated import from //branches/donutburger/...@141868,141868

10 years agoAutomated import from //branches/donutburger/...@141761,141761
Ken Shirriff [Wed, 25 Mar 2009 03:51:19 +0000]
Automated import from //branches/donutburger/...@141761,141761

10 years agoAutomated import from //branches/donutburger/...@141279,141279
Jack Veenstra [Wed, 25 Mar 2009 02:58:25 +0000]
Automated import from //branches/donutburger/...@141279,141279

10 years agoAutomated import from //branches/donutburger/...@141103,141103
Jeffrey Sharkey [Wed, 25 Mar 2009 02:32:09 +0000]
Automated import from //branches/donutburger/...@141103,141103

10 years agoAutomated import from //branches/cupcake/...@142120,142120
Jeffrey Sharkey [Wed, 25 Mar 2009 02:02:11 +0000]
Automated import from //branches/cupcake/...@142120,142120

10 years agoAutomated import from //branches/donutburger/...@140910,140910
Jack Veenstra [Wed, 25 Mar 2009 01:54:31 +0000]
Automated import from //branches/donutburger/...@140910,140910

10 years agoAutomated import from //branches/donutburger/...@140817,140817
Debajit Ghosh [Wed, 25 Mar 2009 01:36:01 +0000]
Automated import from //branches/donutburger/...@140817,140817

10 years agoAutomated import from //branches/cupcake/...@141866,141866
Eric Fischer [Wed, 25 Mar 2009 01:33:43 +0000]
Automated import from //branches/cupcake/...@141866,141866

10 years agoAutomated import from //branches/cupcake/...@141760,141760
Ken Shirriff [Wed, 25 Mar 2009 01:19:45 +0000]
Automated import from //branches/cupcake/...@141760,141760

10 years agoauto import from //branches/cupcake_rel/...@141571
The Android Open Source Project [Fri, 20 Mar 2009 06:08:57 +0000]
auto import from //branches/cupcake_rel/...@141571

10 years agoauto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Thu, 19 Mar 2009 00:39:49 +0000]
auto import from //branches/cupcake_rel/...@140373

10 years agoMerge commit 'remotes/korg/cupcake' into merge
Jean-Baptiste Queru [Tue, 17 Mar 2009 23:08:50 +0000]
Merge commit 'remotes/korg/cupcake' into merge

10 years agoauto import from //branches/cupcake_rel/...@138607
The Android Open Source Project [Fri, 13 Mar 2009 20:04:25 +0000]
auto import from //branches/cupcake_rel/...@138607

10 years agoauto import from //branches/cupcake/...@137873
The Android Open Source Project [Wed, 11 Mar 2009 19:11:59 +0000]
auto import from //branches/cupcake/...@137873

10 years agoauto import from //branches/cupcake/...@137197
The Android Open Source Project [Mon, 9 Mar 2009 18:52:14 +0000]
auto import from //branches/cupcake/...@137197

10 years agoauto import from //depot/cupcake/@136594
The Android Open Source Project [Thu, 5 Mar 2009 22:34:39 +0000]
auto import from //depot/cupcake/@136594

10 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:32:38 +0000]
auto import from //depot/cupcake/@135843

10 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:52 +0000]
auto import from //depot/cupcake/@135843

10 years agoauto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 22:04:36 +0000]
auto import from //depot/cupcake/@132589

10 years agoauto import from //depot/cupcake/@137055
The Android Open Source Project [Tue, 3 Mar 2009 06:54:44 +0000]
auto import from //depot/cupcake/@137055

10 years agoauto import from //branches/cupcake/...@132276
The Android Open Source Project [Thu, 19 Feb 2009 18:57:36 +0000]
auto import from //branches/cupcake/...@132276

10 years agoauto import from //branches/cupcake/...@131421
The Android Open Source Project [Fri, 13 Feb 2009 20:57:53 +0000]
auto import from //branches/cupcake/...@131421

10 years agoauto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 10 Feb 2009 23:44:05 +0000]
auto import from //branches/cupcake/...@130745

10 years agoMerge branch 'cupcake'
android-build SharedAccount [Fri, 16 Jan 2009 00:16:09 +0000]
Merge branch 'cupcake'

10 years agoauto import from //branches/cupcake/...@126645
The Android Open Source Project [Fri, 16 Jan 2009 00:12:14 +0000]
auto import from //branches/cupcake/...@126645

10 years agoMerge branch 'cupcake'
The Android Open Source Project [Sat, 10 Jan 2009 02:04:23 +0000]
Merge branch 'cupcake'

10 years agoauto import from //branches/cupcake/...@125939
The Android Open Source Project [Sat, 10 Jan 2009 01:51:25 +0000]
auto import from //branches/cupcake/...@125939

10 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:06:03 +0000]
Code drop from //branches/cupcake/...@124589

10 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000]
Initial Contribution