summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.1_r22' of ↵staging/cm-13.0+r22Steve Kondik2016-03-100-0/+0
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/providers/CalendarProvider into cm-13.0 Android 6.0.1 release 22
| * Work on issue #25467052: System lagged outDianne Hackborn2015-11-041-0/+1
| | | | | | | | | | | | | | Use REPLACE_PENDING when sending change broadcasts for the calendar provider, so they don't cause backup in the queue. Change-Id: Iab92c4a48a3e1ff085246e5ebc16fefae927133b
* | Automatic translation importMichael Bestas2016-03-0513-0/+344
| | | | | | | | Change-Id: If8cf8f9afec251f358ec0045d82386a193f2981d
* | Automatic translation importMichael Bestas2015-12-254-0/+123
| | | | | | | | Change-Id: If8e72bdee6896dc21f0e9cc3686e5926f5abc847
* | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-0/+1
|\ \ | | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/providers/CalendarProvider into HEAD Android 6.0.1 release 3
| * | Work on issue #25467052: System lagged outDianne Hackborn2015-11-041-0/+1
| |/ | | | | | | | | | | | | Use REPLACE_PENDING when sending change broadcasts for the calendar provider, so they don't cause backup in the queue. Change-Id: Iab92c4a48a3e1ff085246e5ebc16fefae927133b
* / New Material iconMichael Bestas2015-10-259-1/+1
|/ | | | | | * Created by Jovie Brett Bardoles Change-Id: Ieeafa17c680f48aa95c0b724c56f814dbe180355
* Turn on verbose logging to debug flaky test casesTony Mak2015-07-171-1/+2
| | | | | | | | | | | We have some flaky test cases about recurrent event that fail sometime in nexus9, turn on DEBUG_INSTANCES flag for more logging. ag/729934 turn on verbose logging when running cts. Bug: 22449592 Change-Id: I728a07fa41251a92aa3d786932dddf7cfbc433df
* Fix calendar reminder notification is not shown in idle stateTony Mak2015-07-167-79/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | M introduce "doze" which prevents alarm goes off when devices is in idle state. The solution is to use setExactAndAllowWhileIdle, however, there is a restriction that we can only have one such an alarm within 15 mins during dozing. Before explaining the changes, here is the brief introduction how reminder notification works. CalendarProvider send EVENT_REMINDER broadcast to notify calendar app to show notification. It sets two alarms, one to send this broadcast and set one another to schedule the next coming reminder. The scheduler alarm goes off one minute after the reminder alarm. Here are the changes: 1.Due to the 15 min restriction, the current architecture is not working. This commit removes the scheduler alarm. CalendarProvider now listens for the EVENT_REMINDER broadcast and schedule the next reminder immediately. 2. When there is no reminder within 1 day, CalendarProvider will setup an alarm on the next day to start the scheduler again. This alarm needs to goes off in idle state. But due to the 15 mins restriction, now the time is set to 15 mins earlier. 3. Also remove SCHEDULE broadcast which is basically same as the ACTION_CHECK_NEXT_ALARM broadcast. 4. ag/720759 make sure the reminder alarm goes off during dozing. Please notice that even with this commit, we can't have more than one reminder notification within 15 minutes due to the restriction mentioned above. Bug: 22182280 Change-Id: I950dab5595a98a26370f2cd8decf0b32d9363591
* fix cursor.getColumnIndex(Calendars.IS_PRIMARY) always returns -1Keith Cheung2015-06-082-2/+48
| | | | | Bug: 20921928 Change-Id: I8582eaba6031904d5c820203900f32d0f7ff32c0
* Merge "Fix crash when inserting reminder/attendee/extended property to a ↵Tony Mak2015-06-083-26/+88
|\ | | | | | | non-existent event" into mnc-dev
| * Fix crash when inserting reminder/attendee/extended property to a ↵Tony Mak2015-06-083-26/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-existent event The problem is when inserting reminder/attendee/extended property, the code assumes the event it belongs to exists. However, it may not be true in some edge cases. For example, user is on the event edit page, while the event is being deleted in server at this moment. Add checking to confirm the event does exists before having the insert logic. As all logics in insert is run within a single transaction, we can be assured that the event does exist throughout the transaction. Bug: b2/13287671 Change-Id: I655720c67ab3176d52759c43032682874aa3eb8b
* | Merge "Fix CalendarProvider2Test" into mnc-devTony Mak2015-06-082-95/+54
|\|
| * Fix CalendarProvider2TestTony Mak2015-06-082-95/+54
| | | | | | | | | | | | | | | | | | | | | | | | 1. Add authority into ProviderInfo 2. Add more features we needed in IsolatedContext 3. testInsertOriginalTimezoneInExtProperties is removed as we dun have this extended property anymore 4. Fix bug in instance search due to wrong order of selection args 5. Fix bug that dirty is not marked to 1 when attendee of event is deleted Bug: 20715117 Change-Id: I494348742491eedf99355b44378d75e637b1e3c7
* | Import translations. DO NOT MERGEGeoff Mendal2015-04-221-0/+33
|/ | | | | Change-Id: Icde8e270f167fcbc20eeb0ab050fb0863182e352 Auto-generated-cl: translation import
* CalendarProvider does not use cleartext network traffic.Alex Klyubin2015-04-021-1/+2
| | | | | | | | | | This declares to the platform and tools that this provider does not use cleartext network traffic. The platform and tools will be blocking (on best effort basis) attempts to use such traffic by this app. For example, attempts to use HTTP (rather than HTTPS) will be blocked. Bug: 19215516 Change-Id: I7c85b58275643cafc9e689161d511dac800f2d97
* am 70936efe: (-s ours) reset to lmp-mr1-dev-plus-aosp with history. DO NOT ↵Qiwen Zhao2015-03-220-0/+0
|\ | | | | | | | | | | MERGE ANYWHERE. * commit '70936efe38d456e827c11f9bbd98845677ae85a9':
| * reset to lmp-mr1-dev-plus-aosp with history. DO NOT MERGE ANYWHERE.Qiwen Zhao2015-03-200-0/+0
| |\
| | * am 019c2e1d: (-s ours) am 80976af5: (-s ours) am 3f7d0cce: (-s ours) Import ↵Baligh Uddin2015-03-200-0/+0
| | |\ | | | | | | | | | | | | | | | | | | | | translations. DO NOT MERGE * commit '019c2e1d8fa7a317c67b07eff73d90d49e564f18':
| | * \ am e6897552: (-s ours) am 7f436dee: (-s ours) am ab9a0774: (-s ours) Merge ↵Baligh Uddin2015-03-200-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | "Import translations. DO NOT MERGE" into lmp-dev * commit 'e6897552c2f7e79660cffce68912b046aaad40bc':
| | * \ \ am e6bd661d: (-s ours) am 49d0988d: (-s ours) am f4662dd0: (-s ours) am ↵Baligh Uddin2015-03-200-0/+0
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 51b66a98: (-s ours) am 4808a434: (-s ours) Import translations. DO NOT MERGE * commit 'e6bd661d739f7efb2f23ec8f4068db1be4efe3da':
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-03-211-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I23abbb9aa328141fd53655b1a0616f480ffb9444 Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-03-111-33/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I895499d65185c495a93886f93105cb702aec1dd6 Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic8cb715f7fed9107548c9d0a7ba5137b4964a5c6 Auto-generated-cl: translation import
* | | | | | am d2d82f31: (-s ours) am c407de23: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-260-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'd2d82f312f6c25c7ed5ccd6e853cac606bfb04fd': Import translations. DO NOT MERGE
| * | | | | am c407de23: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-260-0/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'c407de23e8ca46e84448631169be368694cc9d05': Import translations. DO NOT MERGE
| | * | | | | Import translations. DO NOT MERGEGeoff Mendal2015-02-2612-13/+115
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icba5388e598c136726d3a4b9feaa130ecb7d03e7 Auto-generated-cl: translation import
* | | | | | am ffab862f: (-s ours) am 614e584a: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-120-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'ffab862f25dffe3c9c9d688cc1eb9b936db10734': Import translations. DO NOT MERGE
| * | | | | am 614e584a: (-s ours) Import translations. DO NOT MERGEGeoff Mendal2015-02-120-0/+0
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '614e584ac203e9268c6df636e08cd8e5b25465aa': Import translations. DO NOT MERGE
| | * | | | | Import translations. DO NOT MERGEGeoff Mendal2015-02-125-7/+7
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id32f4a8bd5c6b6e94dc39c33ffc5c26d0a8b136b Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEGeoff Mendal2015-02-0268-68/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic9a879bcdafda0380d6a0cc72623419d38464b62 Auto-generated-cl: translation import
* | | | | | No longer need to take care of pre boot msg.Dianne Hackborn2015-01-292-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I877c569a0e134cd501d7b95518d5c15a7e4489f2
* | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-12-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I0f4c2abd8ec69fc093a270d401cff6200eb0c384 Auto-generated-cl: translation import
* | | | | | am 109d19cc: am 2dc73a40: am 96d67800: Before the first call to ↵Sam Blitzstein2014-12-122-12/+72
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clearCallingIdentity, cache the calling package. * commit '109d19ccd3b6251e242c40cb560d3b2385472148': Before the first call to clearCallingIdentity, cache the calling package.
| * | | | | am 2dc73a40: am 96d67800: Before the first call to clearCallingIdentity, ↵Sam Blitzstein2014-12-122-12/+72
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cache the calling package. * commit '2dc73a40911dfc959c340d084232cc2dca621685': Before the first call to clearCallingIdentity, cache the calling package.
| | * | | | am 96d67800: Before the first call to clearCallingIdentity, cache the ↵Sam Blitzstein2014-12-112-12/+72
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calling package. * commit '96d67800c827efb5c08adaa32e221aaae53d02a4': Before the first call to clearCallingIdentity, cache the calling package.
| | | * | | | Before the first call to clearCallingIdentity, cache the calling package.Sam Blitzstein2014-12-102-12/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Then it will be saved as a mutator when the dirty bit is set. This may be accessed by multiple threads, so the data is cached in ThreadLocal. Also track the calling Uid, and clear the cached package when the tracked Uid is restored. Bug: 18421411 Change-Id: I4597bd4169636c3988d72ddde51578a02af193ea
* | | | | | | Import translations. DO NOT MERGEGeoff Mendal2014-12-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I44a61c683d3780730a1ae14f584e5cde72342cf4 Auto-generated-cl: translation import
* | | | | | | Import translations. DO NOT MERGEGeoff Mendal2014-11-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9c7ab9a4ce4a4cf6ad91aea05ad71c34b8c8e3de Auto-generated-cl: translation import
* | | | | | | Import translations. DO NOT MERGEGeoff Mendal2014-11-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6a294006a63cf04242eca4dbef093bb624460c78 Auto-generated-cl: translation import
* | | | | | | Import translations. DO NOT MERGEGeoff Mendal2014-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4a6b93c7183c250fb9e5137353e8991c6b7f9f7c Auto-generated-cl: translation import
* | | | | | | am 18ab4870: (-s ours) am a0960e75: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-310-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '18ab48703c61071328a149eaff328e878e73b370': Import translations. DO NOT MERGE
| * | | | | | am a0960e75: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-310-0/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'a0960e75e946c6412452e6c91ac0d22933c00fd5': Import translations. DO NOT MERGE
| | * | | | | | Import translations. DO NOT MERGEBaligh Uddin2014-10-3011-12/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I95aa33eb9f025c530a9d28dbae3994747d29e94e Auto-generated-cl: translation import
* | | | | | | | am ea50f5a1: (-s ours) am 566aff4d: (-s ours) am b78250d0: (-s ours) Import ↵Baligh Uddin2014-10-290-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translations. DO NOT MERGE * commit 'ea50f5a10baec724a06233cc05acb6d1483b0f4c':
| * | | | | | | am 566aff4d: (-s ours) am b78250d0: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-290-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '566aff4d55aac8ff4b7711e4d72ed99e7e83b526':
| | * | | | | | am b78250d0: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-190-0/+0
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b78250d067b12b97e4f0f32f0b5ee0f7f3fab48f': Import translations. DO NOT MERGE
* | | | | | | | | am bd9cbbdd: (-s ours) am 59b1ec53: (-s ours) am 04631ba7: (-s ours) Import ↵Baligh Uddin2014-10-290-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | translations. DO NOT MERGE * commit 'bd9cbbdd352c0a9b498f96b0633ae9e0724fbe4f':
| * | | | | | | | am 59b1ec53: (-s ours) am 04631ba7: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-10-290-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '59b1ec5304cb2a791fa94be5081c87ab4f686f53':
| | * | | | | | | am 04631ba7: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2014-09-290-0/+0
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '04631ba71e6ddacab0d4f0e0cbc5e6b8f914a522': Import translations. DO NOT MERGE