OSDN Git Service

android-x86/packages-apps-Calendar.git
13 years agoadd notouch resources to avoid crash froyo-x86 android-x86-2.2 android-x86-2.2-r2
Chih-Wei Huang [Wed, 6 Jan 2010 03:52:17 +0000 (11:52 +0800)]
add notouch resources to avoid crash

13 years agoImport revised translations
Kenny Root [Thu, 10 Jun 2010 05:28:22 +0000 (22:28 -0700)]
Import revised translations

Change-Id: Ib458fa5b75881bcfc9cf531c312264713757db2b

13 years agoImport revised translations
Kenny Root [Mon, 17 May 2010 18:26:17 +0000 (11:26 -0700)]
Import revised translations

Change-Id: I57d5725c9539ef25f8f021211e5d497c6ad740de

13 years agoImport revised translations
Kenny Root [Thu, 29 Apr 2010 22:26:14 +0000 (15:26 -0700)]
Import revised translations

Change-Id: Ia34da4ee4637de6e6e15f14f8c8d3ad9b6b30fd7

13 years agoMerge "b/2635283 UtilsTest.java was missing copyright notice." into froyo
Erik [Tue, 27 Apr 2010 22:39:09 +0000 (15:39 -0700)]
Merge "b/2635283 UtilsTest.java was missing copyright notice." into froyo

13 years agob/2635283 UtilsTest.java was missing copyright notice.
Erik [Tue, 27 Apr 2010 22:26:57 +0000 (15:26 -0700)]
b/2635283 UtilsTest.java was missing copyright notice.

Change-Id: I159fa1439cf38a24f7c4ed4ddf9245fda00dc674

13 years agoImport revised translations
Kenny Root [Tue, 27 Apr 2010 19:32:24 +0000 (12:32 -0700)]
Import revised translations

Change-Id: I9711dbdbf4ba92e05e0d644bc2ca17156f433216

13 years agoRevert "b/2622128 Exception events now get updated to be 'canceled' when deleted"
Erik [Mon, 26 Apr 2010 18:24:42 +0000 (11:24 -0700)]
Revert "b/2622128 Exception events now get updated to be 'canceled' when deleted"

This reverts commit a9dd45e7a7f422c3c7d74f10d1e65880c181d43b. Moving to master
instead of Froyo.

13 years agoRevert "b/2622128 Fix crash from editEvent and EventInfoActivity"
Erik [Mon, 26 Apr 2010 18:22:28 +0000 (11:22 -0700)]
Revert "b/2622128 Fix crash from editEvent and EventInfoActivity"

This reverts commit b6a9b7130b754ef2c965a4ddb6134bc82e8a605c. Moving this to
master instead of froyo.

13 years agoMerge "b/2622128 Fix crash from editEvent and EventInfoActivity" into froyo
Erik [Fri, 23 Apr 2010 23:05:31 +0000 (16:05 -0700)]
Merge "b/2622128 Fix crash from editEvent and EventInfoActivity" into froyo

13 years agob/2622128 Fix crash from editEvent and EventInfoActivity
Erik [Fri, 23 Apr 2010 22:44:47 +0000 (15:44 -0700)]
b/2622128 Fix crash from editEvent and EventInfoActivity

those two activities perform their own query and I didn't add the
originalEvent column to them for previous fix.

Change-Id: Ib26c22015599b453e5c7a4b3bc485b11bbb41166

13 years agoMerge "b/2622128 Exception events now get updated to be 'canceled' when deleted"...
Erik [Fri, 23 Apr 2010 22:22:12 +0000 (15:22 -0700)]
Merge "b/2622128 Exception events now get updated to be 'canceled' when deleted" into froyo

13 years agob/2622128 Exception events now get updated to be 'canceled' when deleted
Erik [Fri, 23 Apr 2010 21:35:12 +0000 (14:35 -0700)]
b/2622128 Exception events now get updated to be 'canceled' when deleted

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

14 years agob/2600675 Make the agenda/day/week/month views consistent
Michael Chan [Fri, 16 Apr 2010 00:01:13 +0000 (17:01 -0700)]
b/2600675 Make the agenda/day/week/month views consistent

Change-Id: I4cd7faa183aee620eb7132b9cd6dddae6f0ad88a

14 years agob/2600474 Changed colors for Sat/Sun
Erik [Thu, 15 Apr 2010 21:33:12 +0000 (14:33 -0700)]
b/2600474 Changed colors for Sat/Sun

To a dull blue and moved busybits and background colors into xml.

Change-Id: I21191c3bc25748dcd312d5ea84113dad3d40caf2

14 years agob/2593984 New 'DNA' view to show days events in month view
Erik [Wed, 14 Apr 2010 22:25:51 +0000 (15:25 -0700)]
b/2593984 New 'DNA' view to show days events in month view

Busybits was previously removed due to performance and confusion
issues. This is replacing it to provide a more detailed view of days
in Month View.

Change-Id: I1846934ca55e61b97ab63afe9680f05f3653edc2

14 years agoImport revised translations
Kenny Root [Thu, 15 Apr 2010 03:32:16 +0000 (20:32 -0700)]
Import revised translations

Change-Id: I86bbf45a49e65b4390fd1d14d1c1cce0b535b543

14 years agoMerge "b/2593983 Fixed Month view so that short taps will launch day/agenda view...
Michael Chan [Wed, 14 Apr 2010 17:02:48 +0000 (10:02 -0700)]
Merge "b/2593983 Fixed Month view so that short taps will launch day/agenda view." into froyo

14 years agob/2593983 Fixed Month view so that short taps will launch day/agenda view.
Michael Chan [Wed, 14 Apr 2010 04:55:36 +0000 (21:55 -0700)]
b/2593983 Fixed Month view so that short taps will launch day/agenda view.

Change-Id: I6109f49ff421a2f99be5fda0b24c3f5a6befcdf8

14 years agoMerge "b/2593884 Clear out recurrence before updating." into froyo
Erik [Wed, 14 Apr 2010 01:15:54 +0000 (18:15 -0700)]
Merge "b/2593884 Clear out recurrence before updating." into froyo

14 years agob/2593884 Clear out recurrence before updating.
Erik [Tue, 13 Apr 2010 23:42:14 +0000 (16:42 -0700)]
b/2593884 Clear out recurrence before updating.

Previously settings could be left over when we changed the recurrence.
This is handled by Google's servers but not by Exchange. This change
will clear out the recurrence setting before recreating it when the
recurrence is changed.

Change-Id: Ife9c6b1fd81723314e6e0fcb3249cf8bfca20cb2

14 years agoChange to TextUtils.equals instead of .equals
Erik [Fri, 9 Apr 2010 23:32:17 +0000 (16:32 -0700)]
Change to TextUtils.equals instead of .equals

Could crash on a NPE for an empty string without this.

Change-Id: I1f88889580cfd30f82e867f403e9466a1d7d7819

14 years agoMerge "b/2558564 Fixed the problem where going to "today" would cause to a previous...
Michael Chan [Wed, 7 Apr 2010 17:07:51 +0000 (10:07 -0700)]
Merge "b/2558564 Fixed the problem where going to "today" would cause to a previous time." into froyo

14 years agob/2558564 Fixed the problem where going to "today" would cause to a previous time.
Michael Chan [Wed, 7 Apr 2010 02:10:37 +0000 (19:10 -0700)]
b/2558564 Fixed the problem where going to "today" would cause to a previous time.

This is a workaround for the fact that Listview doesn't me telling it to show a particular item

Change-Id: Ibf78961698cdd8c4290dde9c00d7de16ceb3dffb

14 years agob/2575593 Added accountType to the calendars query
Erik [Tue, 6 Apr 2010 23:13:20 +0000 (16:13 -0700)]
b/2575593 Added accountType to the calendars query

Change-Id: I8b4d01a51632c8ab3a18691f26a00dfedf335d5e

14 years agob/2574912 Made postDelayed calls get cancelled on pause
Erik [Tue, 6 Apr 2010 22:54:19 +0000 (15:54 -0700)]
b/2574912 Made postDelayed calls get cancelled on pause

postDelayed calls to stop the calendars list from being refreshed were
surviving the activity being finished and re created. This explicitly
turns them off and on when the activity calls onPause and onResume
respectively. This also rearranges where the refresh post gets set up
to make it more dependable.

Change-Id: Icdc1c0ee4e6dad91fb1792748d1a43df8e2ad6c2

14 years agoMerge "fix Java package name for calendar launch performance test" into froyo
Guang Zhu [Fri, 2 Apr 2010 01:07:55 +0000 (18:07 -0700)]
Merge "fix Java package name for calendar launch performance test" into froyo

14 years agofix Java package name for calendar launch performance test
Guang Zhu [Thu, 1 Apr 2010 23:32:42 +0000 (16:32 -0700)]
fix Java package name for calendar launch performance test

the package name cited in the test class does not agree with the actual path
leading to the .java file. while this has not been a problem for our build
system, it confuses IDEs and also package rename mechanism in the build system

Change-Id: I5754b99a4ccf58530daf2ae2f40cac7b35c9aed5

14 years agob/2555049 Will only query accounts once when entering Calendars screen
Erik [Tue, 30 Mar 2010 01:20:32 +0000 (18:20 -0700)]
b/2555049 Will only query accounts once when entering Calendars screen

There was noticeable jitter on entering the Calendars screen including
misregistering taps due to the cursor requerying repeatedly during a
sync. This change makes it so we only query on accounts once and then
will requery every five seconds for about a minute. The view will only
be updated if a change has occurred.

Change-Id: I53610836e78d970d452d4c9724a2d3525cd85482

14 years agoImport revised translations
Kenny Root [Tue, 30 Mar 2010 16:15:50 +0000 (09:15 -0700)]
Import revised translations

Change-Id: Id808a4958bb299814188abc243e9cf9ad5a365a3

14 years agoMerge "Fixed verticle align for date range (title) in calendar views"
Erik [Thu, 25 Mar 2010 22:53:43 +0000 (15:53 -0700)]
Merge "Fixed verticle align for date range (title) in calendar views"

14 years agoFixed verticle align for date range (title) in calendar views
Erik [Thu, 25 Mar 2010 22:34:37 +0000 (15:34 -0700)]
Fixed verticle align for date range (title) in calendar views

The date range (title) for day, week, and month views wasn't quite aligned
vertically. Fixed the layout so it is.

Change-Id: I5e4d2fb0bb4281eff8f2198db47554637a30366a

14 years agoMigrate Vibrate setting from previous versions if needed
Jim Shuma [Thu, 25 Mar 2010 19:01:08 +0000 (12:01 -0700)]
Migrate Vibrate setting from previous versions if needed

The Vibrate setting was getting properly interpreted
in AlertService, but this was not visible from the
preference screen. This change migrates the preference
when the preference screen is brought up.

Bug: 2535583
Change-Id: I63e8fdba108b37d6f31566cbe8eac81f5f1adee1

14 years agoWill now update time format on resume
Erik [Wed, 24 Mar 2010 00:03:28 +0000 (17:03 -0700)]
Will now update time format on resume

We weren't refreshing the time strings when the format changed to/from
24 hour mode. Now it will update in onResume to make sure we catch any
changes.

Change-Id: I829779fe09062cd65449810c94f90bbda42f84a2

14 years agoDo smart sorting in Calendars list
Erik [Tue, 23 Mar 2010 22:15:33 +0000 (15:15 -0700)]
Do smart sorting in Calendars list

This sorts your primary calendar to the top of the list for each
account and then sorts the rest of your calendars alphabetically
ignoring case in the Calendars view.

Change-Id: I93a830763dc43b27fd5b2d3600bd5c6bf6fc9191

14 years agob/2531257 More work on cleaning up owner account for dupes
Erik [Tue, 23 Mar 2010 17:24:58 +0000 (10:24 -0700)]
b/2531257 More work on cleaning up owner account for dupes

Moved the owner account to a second line when calendar names are
duplicated. This gives more space for long calendar names and long
owner accounts. Owner accounts will also now be gray when shown.

Change-Id: I9deec627159bb6a6a6eb3c569c255e6ede342ff0

14 years agoMerge "b/2531257 Will only display owner account if different than cal name"
Erik [Tue, 23 Mar 2010 16:30:41 +0000 (09:30 -0700)]
Merge "b/2531257 Will only display owner account if different than cal name"

14 years agob/2531257 Will only display owner account if different than cal name
Erik [Mon, 22 Mar 2010 23:34:57 +0000 (16:34 -0700)]
b/2531257 Will only display owner account if different than cal name

Previously would display 'name <account>' if two calendars had the same
name. Now we won't display <account> if it's the same as the name. This affects
EventInfoActivity and SelectCalendarsActivity.

Change-Id: Ie810430e11d4b15f1a3518f9328daf727134976b

14 years agoChanged calendar picker in edit event to always display email
Erik [Mon, 22 Mar 2010 23:25:50 +0000 (16:25 -0700)]
Changed calendar picker in edit event to always display email

Previously we only displayed an e-mail address if a duplicate was found.
Now we'll always display the e-mail address for consistency since it uses a
two line setup.

Change-Id: Id6a6453070a366bae846cf1ce8539fc2c315c19e

14 years agob/2530580 Added check for first event
Erik [Fri, 19 Mar 2010 21:10:22 +0000 (14:10 -0700)]
b/2530580 Added check for first event

Now edit event will only give the option to modify this and all future
events if it is not the first event in a recurrence. The first event
can only see modify this instance and modify all events now.

Change-Id: I61709ae701ce1dfc6e637f8d9d30a1ef001d157c

14 years agoMerge "b/2524380 Changed logic for longpress to make delete depend on cal access"
Erik [Thu, 18 Mar 2010 18:16:24 +0000 (11:16 -0700)]
Merge "b/2524380 Changed logic for longpress to make delete depend on cal access"

14 years agoMerge "Import revised translations"
Eric Fischer [Thu, 18 Mar 2010 17:52:08 +0000 (10:52 -0700)]
Merge "Import revised translations"

14 years agoImport revised translations
Kenny Root [Thu, 18 Mar 2010 05:09:11 +0000 (22:09 -0700)]
Import revised translations

Change-Id: I66fa90c0f0ac672567296f873f5039a06d2fdded

14 years agoMerge "Bug 2457183 Silent/vibrate"
Jim Shuma [Thu, 18 Mar 2010 05:02:14 +0000 (22:02 -0700)]
Merge "Bug 2457183 Silent/vibrate"

14 years agob/2524380 Changed logic for longpress to make delete depend on cal access
Erik [Thu, 18 Mar 2010 01:25:45 +0000 (18:25 -0700)]
b/2524380 Changed logic for longpress to make delete depend on cal access

Delete option in longpress for calendar views depended on edit event access
instead of calendar access. The delete option should now show up so long
as you can modify the calendar regardless of being able to modify the event.

Change-Id: Ib65d1b48672a36802c7375483b2e0645d8be0fa2

14 years agoMerge "b/2523984 Changed to ignore case"
Erik [Thu, 18 Mar 2010 01:02:35 +0000 (18:02 -0700)]
Merge "b/2523984 Changed to ignore case"

14 years agob/2523984 Changed to ignore case
Erik [Thu, 18 Mar 2010 00:06:04 +0000 (17:06 -0700)]
b/2523984 Changed to ignore case

Exchange sometimes capitalizes owners so we have to ignore case when
we check if the user has edit access. Changed to reflect this.

Change-Id: Id87ced8cfbe1e38adf67e2dfcd45742f81172eff

14 years agoBug 2457183
Jim Shuma [Wed, 17 Mar 2010 18:54:54 +0000 (11:54 -0700)]
Bug 2457183
Silent/vibrate

Silent/vibrate for Calendar

Change-Id: Ie3a537820ea81ba2f92987a10f67a1dfbd7d34f3

14 years agob/2483233 Added filter param so we can catch unique intents
Erik [Wed, 17 Mar 2010 23:37:18 +0000 (16:37 -0700)]
b/2483233 Added filter param so we can catch unique intents

Needed to create unique intents so we added data to them. This filter
makes sure we continue receiving the intents.

Change-Id: I9f0dd7c1f1078a773dced969af424e61b55ef465

14 years agob/2519327 Added check for null cursor
Erik [Wed, 17 Mar 2010 00:19:37 +0000 (17:19 -0700)]
b/2519327 Added check for null cursor

Monkey was causing a query to be canceled which returned a null cursor.

Change-Id: I42941cfa42245800c9a9e7463a1509daa98c3239

14 years agoRemove dtend when recurring event is created.
Ken Shirriff [Tue, 16 Mar 2010 22:01:11 +0000 (15:01 -0700)]
Remove dtend when recurring event is created.

Recurring events are not supposed to use dtend.

bug 2513213

Change-Id: I10641201d72d13cfae592c88828a3a6d3cf5d560

14 years agob/2494603 Improve UI to disambiguate calendars with the same name
Michael Chan [Fri, 12 Mar 2010 01:52:48 +0000 (17:52 -0800)]
b/2494603 Improve UI to disambiguate calendars with the same name

Added checks for calendars with duplicated names and if found will now
include the owner e-mail with the display name. Also did some minor
layout changes for German ( b/2516982 ). And started a tests class for
Utils.

Change-Id: I567c6552a8c17b2c7e73d23312ac60f5dc85a1ec

14 years agob/2507842 Added code to hide response spinner if not supported
Erik [Fri, 12 Mar 2010 22:11:54 +0000 (14:11 -0800)]
b/2507842 Added code to hide response spinner if not supported

Added code to check the organizerCanRespond flag in the Calendars table as part
of the logic to decide if the my response spinner should be displayed. If the
account for the calendar is the organizer and organizerCanRespond is set to 0
we will no longer display the spinner.

Change-Id: I7fb1ef808320c65a7679aed265591b356a1d1dfd

14 years agoMerge "b/2500471 Pressing back after setting up account will now enter Calendar"
Erik [Fri, 12 Mar 2010 00:26:06 +0000 (16:26 -0800)]
Merge "b/2500471 Pressing back after setting up account will now enter Calendar"

14 years agob/2500471 Pressing back after setting up account will now enter Calendar
Erik [Fri, 12 Mar 2010 00:15:49 +0000 (16:15 -0800)]
b/2500471 Pressing back after setting up account will now enter Calendar

This gets us halfway there. When the user finishes setting up an account it sends
them back to the first Add Account screen. This fix makes it so if they press back
at this point they will return to Calendar and be brought to the default view.
Still working on a way to skip returning to the Add Account screen.

Change-Id: Ie203e74286c40eb8ca65818ac4a633443ebae88b

14 years agob/2505788 Small cleanup following change Ic986c877
Erik [Thu, 11 Mar 2010 18:28:07 +0000 (10:28 -0800)]
b/2505788 Small cleanup following change Ic986c877

Followup on a quick fix. Just some code tidying.

Change-Id: Ic0d62a35e06d3c263aa088ab1f5feb241c6924ec

14 years agob/2505788 Added check so we only dirty an event if an update occurred
Erik [Thu, 11 Mar 2010 01:49:02 +0000 (17:49 -0800)]
b/2505788 Added check so we only dirty an event if an update occurred

onPause was updating the hasAlarm field even if it didn't change. Added a
check so we only update hasAlarms if it changed.

Change-Id: Ic986c877e24cf49009d6e72bafc47952ce5e63bd

14 years agoMerge "b/2496984 Pulled out -1 attendee id into a constant"
Erik [Thu, 11 Mar 2010 01:35:15 +0000 (17:35 -0800)]
Merge "b/2496984 Pulled out -1 attendee id into a constant"

14 years agob/2496984 Pulled out -1 attendee id into a constant
Erik [Thu, 11 Mar 2010 00:52:24 +0000 (16:52 -0800)]
b/2496984 Pulled out -1 attendee id into a constant

in order to improve ease of future changes and readability. See also
change I9e557689.

Change-Id: I4e7da55f63e0defb61f8df5946b0d1b38b98ce0d

14 years agoMerge "b/2504857 Changed EventRecurrenceFormatter to use the same days as DateUtils"
Erik [Thu, 11 Mar 2010 00:06:43 +0000 (16:06 -0800)]
Merge "b/2504857 Changed EventRecurrenceFormatter to use the same days as DateUtils"

14 years agob/2504857 Changed EventRecurrenceFormatter to use the same days as DateUtils
Erik [Wed, 10 Mar 2010 23:51:33 +0000 (15:51 -0800)]
b/2504857 Changed EventRecurrenceFormatter to use the same days as DateUtils

EventRecurrenceFormatter was redefining its own set of day numbers which were
different than the ones used by DateUtils. Changed ERF to use the same days
so now they can both be updated from the same place without the hidden
dependency.

Change-Id: Ibafc21b8fbabbbc49fd9cd309f2a8bf63e776b8e

14 years agob/2496984 Added check for invalid attendee when saving response
Erik [Wed, 10 Mar 2010 23:37:11 +0000 (15:37 -0800)]
b/2496984 Added check for invalid attendee when saving response

Monkey was managing to save without a valid ownerAccount being found
which caused an attendee id of -1 to be passed in. Added a check to
protect against this.

Change-Id: I9e55768965594dd43e0cf488852acf928ff09dce

14 years agob/2500485 Made Agenda View update when there are no events found.
Erik [Tue, 9 Mar 2010 23:21:28 +0000 (15:21 -0800)]
b/2500485 Made Agenda View update when there are no events found.

Agenda View was continuing to display removed events. Changed check for doing
update to also update if QUERY_TYPE_CLEAN is set. This forces it to update for
changes to the background data whether or not it returns any items.

Change-Id: I48fd4b32538c595e74dec13b6bd3ebce4cf280dc

14 years agoMerge "b/2492707 If all guests have no response will be called 'Guests' not 'Maybe'"
Erik [Tue, 9 Mar 2010 17:52:06 +0000 (09:52 -0800)]
Merge "b/2492707 If all guests have no response will be called 'Guests' not 'Maybe'"

14 years agob/2492707 If all guests have no response will be called 'Guests' not 'Maybe'
Erik [Tue, 9 Mar 2010 03:56:42 +0000 (19:56 -0800)]
b/2492707 If all guests have no response will be called 'Guests' not 'Maybe'

Now if no one has responded (or responses aren't available, such as Ex2003)
guests will be listed under the heading 'Guests <#>' instead of 'Maybe <#>'.
Once a response is received they will again be listed under Yes/No/Maybe.

Change-Id: I1711428629a81380991cc6110f94bf4bf9057649

14 years agoMerge "b/2496655 Changed launcher to use a default detailed view."
Erik [Tue, 9 Mar 2010 17:39:50 +0000 (09:39 -0800)]
Merge "b/2496655 Changed launcher to use a default detailed view."

14 years agob/2496655 Changed launcher to use a default detailed view.
Erik [Tue, 9 Mar 2010 03:54:55 +0000 (19:54 -0800)]
b/2496655 Changed launcher to use a default detailed view.

prefs for Calendar seems to have lost a detailed view setting. Changed launcher
to use a default one if it isn't found. Also, a bug fix in getPathSegments()
cause an off by one error for one of our checks which caused us to always go to
the current time. Updated timeFromintentInMillis to fix this.

Change-Id: I78bc380590b8bfae6c475f5e302a4e6a5d082258

14 years agoAdd an empty CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:04:57 +0000 (18:04 -0800)]
Add an empty CleanSpec.mk

Change-Id: I7ede0c3ea1fbb1605d743dc1648f5526ed3304ac

14 years agoMerge "Some minor code fixes including cursor management."
Erik [Fri, 5 Mar 2010 20:17:52 +0000 (12:17 -0800)]
Merge "Some minor code fixes including cursor management."

14 years agoSome minor code fixes including cursor management.
Erik [Fri, 5 Mar 2010 18:12:12 +0000 (10:12 -0800)]
Some minor code fixes including cursor management.

Two small fixes. First is new events set to start and end on the epoch get moved
to the current time rounded up to the half hour, but if you were on the hour they
were getting bumped to the next hour. Now they stay on the current hour. Second
is some cursor management in SelectCalendars to ensure all cursors get closed
properly.

14 years agoImport new translations
Eric Fischer [Thu, 4 Mar 2010 22:04:10 +0000 (14:04 -0800)]
Import new translations

14 years agob/2486000 Fixed check to see if attendees are organizer.
Erik [Thu, 4 Mar 2010 18:33:35 +0000 (10:33 -0800)]
b/2486000 Fixed check to see if attendees are organizer.

We were doing an equals instead of equalsIgnoreCase check to see if we were
the organizer of an event which was causing the wrong information to be
displayed in EventInfo.

14 years agoMerge "Fix problem from unclosed cursor."
Ken Shirriff [Thu, 4 Mar 2010 04:28:02 +0000 (20:28 -0800)]
Merge "Fix problem from unclosed cursor."

14 years agoFix problem from unclosed cursor.
Ken Shirriff [Thu, 4 Mar 2010 01:38:28 +0000 (17:38 -0800)]
Fix problem from unclosed cursor.

bug nnn

14 years agob/2171008 Made onPause update hasAlarm in db.
Erik [Wed, 3 Mar 2010 00:15:02 +0000 (16:15 -0800)]
b/2171008 Made onPause update hasAlarm in db.

Added an update for hasAlarm to onPause so adding/removing reminders
will be saved correctly from EventInfoActivity.

14 years agob/2293262 Add About section to Calendar Settings
Michael Chan [Tue, 2 Mar 2010 06:22:48 +0000 (22:22 -0800)]
b/2293262 Add About section to Calendar Settings

Change-Id: I5f797b67bd4887b37949905d151a2409949090fc

14 years agoMerge "Don't unbundle calendar app."
Ken Shirriff [Tue, 2 Mar 2010 22:29:04 +0000 (14:29 -0800)]
Merge "Don't unbundle calendar app."

14 years agoMerge "b/2480033 b/2124902 Added descriptions to calendar strings, changed 2 strings"
Erik [Tue, 2 Mar 2010 21:32:15 +0000 (13:32 -0800)]
Merge "b/2480033 b/2124902 Added descriptions to calendar strings, changed 2 strings"

14 years agob/2480033 b/2124902 Added descriptions to calendar strings, changed 2 strings
Erik [Tue, 2 Mar 2010 18:46:05 +0000 (10:46 -0800)]
b/2480033 b/2124902 Added descriptions to calendar strings, changed 2 strings

Some string values in Calendar were missing descriptions. Also, used present tense
instead of past tense when an event was created or saved. Changed to be consistent
with contacts.

14 years agoDon't unbundle calendar app.
Ken Shirriff [Tue, 2 Mar 2010 21:15:27 +0000 (13:15 -0800)]
Don't unbundle calendar app.

The calendar.jar didn't work for unbunding.
bug 2468654

14 years agoMerge "b/2336411 Added check to ensure cursor is not empty."
Erik [Tue, 2 Mar 2010 18:57:30 +0000 (10:57 -0800)]
Merge "b/2336411 Added check to ensure cursor is not empty."

14 years agob/2336411 Added check to ensure cursor is not empty.
Erik [Tue, 2 Mar 2010 00:46:54 +0000 (16:46 -0800)]
b/2336411 Added check to ensure cursor is not empty.

Looks like monkey was cancelling before an event could be loaded causing an empty cursor
to be returned. Added a check to guard against this.

14 years agoRemove unused IcsImportActivity.
Ken Shirriff [Mon, 1 Mar 2010 23:24:59 +0000 (15:24 -0800)]
Remove unused IcsImportActivity.

14 years agoMerge "Import new translations."
Eric Fischer [Sat, 27 Feb 2010 02:13:43 +0000 (18:13 -0800)]
Merge "Import new translations."

14 years agoImport new translations.
Eric Fischer [Sat, 27 Feb 2010 01:27:58 +0000 (17:27 -0800)]
Import new translations.

14 years agoMerge "Unbundling: pull the recurrence string formatting out of EventRecurrence and...
Ken Shirriff [Sat, 27 Feb 2010 00:37:42 +0000 (16:37 -0800)]
Merge "Unbundling: pull the recurrence string formatting out of EventRecurrence and move to the calendar app."

14 years agoUnbundling: pull the recurrence string formatting out of EventRecurrence
Ken Shirriff [Sat, 27 Feb 2010 00:06:04 +0000 (16:06 -0800)]
Unbundling: pull the recurrence string formatting out of EventRecurrence
and move to the calendar app.

The motivation is to make EventRecurrence not depend on string resources,
and to move UI stuff into the app.  This will make it easer to move
EventRecurrence into a library.

14 years agoQuick fix to add safer time checking for time from intents.
Erik [Fri, 26 Feb 2010 23:29:37 +0000 (15:29 -0800)]
Quick fix to add safer time checking for time from intents.

14 years agob/2412594 Added an implicit intent filter to the Calendar Launcher.
Erik [Wed, 24 Feb 2010 22:46:03 +0000 (14:46 -0800)]
b/2412594 Added an implicit intent filter to the Calendar Launcher.

Added an implicent intent filter to the Calendar launcher so it will no longer be tied
to the package name. And added functionality to allow a data uri to be passed giving a
time to start the calendar at as well as allowing "VIEW" as an extra with "DAY" to go
to the day view directly.

14 years agob/2273942 Fixed iterator concurrent modification error.
Erik [Wed, 24 Feb 2010 23:47:13 +0000 (15:47 -0800)]
b/2273942 Fixed iterator concurrent modification error.

Invalid addresses were being removed from a list while iterating through it, causing a
ConcurrentModificationException. Changed the loop to use an explicit iterator and do
removals through that iterator.

14 years agob/2431102 Added check on save to ensure a valid calendar was selected.
Erik [Thu, 25 Feb 2010 02:19:03 +0000 (18:19 -0800)]
b/2431102 Added check on save to ensure a valid calendar was selected.

EditEvent performs a background query to get the list of calendars available
before setting a default calendar. This made it possible to hit done on an
event before any calendars could be set. Added a check to ensure a valid
calendar has been selected before a save operation is performed on an event.

14 years agoSwitched launcher to use the add account screen instead of sync settings
Erik [Thu, 18 Feb 2010 21:20:48 +0000 (13:20 -0800)]
Switched launcher to use the add account screen instead of sync settings

Launcher will now send users to the add account screen instead of the sync
settings screen when it can't find an account.

14 years agob/2432256 Work on making children queries run asynchronously.
Erik [Tue, 23 Feb 2010 18:16:10 +0000 (10:16 -0800)]
b/2432256 Work on making children queries run asynchronously.

This adds caching and background queries to the Calendars children queries. This improves
the responsiveness of the Calendars UI during a sync and should also further reduce the
chance of ANRs.

14 years agob/2456755 Remove unneeded resouces.
Michael Chan [Sat, 20 Feb 2010 00:44:09 +0000 (16:44 -0800)]
b/2456755 Remove unneeded resouces.

Change-Id: I479e253bbc5847505e4d08bc917a8743e06e11a4

14 years agoRemoved unused strings
Michael Chan [Fri, 19 Feb 2010 22:57:22 +0000 (14:57 -0800)]
Removed unused strings

Change-Id: Id538e2b8430a75eff48cb7cbd82322a9ff7b142a

14 years agoEnable compilation against the SDK
Michael Chan [Fri, 19 Feb 2010 22:19:57 +0000 (14:19 -0800)]
Enable compilation against the SDK

Change-Id: I162a479284ac1f44f938e10fd28f3ce4871fc099

14 years agoMerge "b/2432256 Rewrite of Calendars to use HashMaps and async updates."
Erik Pasternak [Thu, 18 Feb 2010 21:17:55 +0000 (13:17 -0800)]
Merge "b/2432256 Rewrite of Calendars to use HashMaps and async updates."

14 years agob/2432256 Rewrite of Calendars to use HashMaps and async updates.
Erik [Wed, 17 Feb 2010 19:24:25 +0000 (11:24 -0800)]
b/2432256 Rewrite of Calendars to use HashMaps and async updates.

Changed the way changes to sync states are tracked and updated. Now all
changes are tracked in a hash table which only contains differences from
the initial setting. At save these changes are added to an AsyncQueryHandler
update list to be done in the background. Changes to ExpandableListView and
related need to be made to improve UI response during syncs still.

14 years agoAlways use a consistent name for SharedPreferences.
Jeff Hamilton [Wed, 17 Feb 2010 00:28:16 +0000 (18:28 -0600)]
Always use a consistent name for SharedPreferences.

The code was relying on the package name for
SharedPreferences, which is problematic if running
under a new package name.

Also, remove the use of the shared user ID.

Change-Id: I9d2c8c78588d7b9868318153d0788addb84f11a6

14 years agob/1911244 Increment the day if the end time is earlier than the start time.
Michael Chan [Tue, 16 Feb 2010 22:14:47 +0000 (14:14 -0800)]
b/1911244 Increment the day if the end time is earlier than the start time.

Change-Id: Ic3ecafebec0ba964b9f94671e149c88738b62448