Skip to content
Commits on Jul 17, 2015
  1. Turn on verbose logging to debug flaky test cases

    Tony Mak committed
    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
Commits on Jul 16, 2015
  1. Fix calendar reminder notification is not shown in idle state

    Tony Mak committed
    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
Commits on Jun 8, 2015
  1. fix cursor.getColumnIndex(Calendars.IS_PRIMARY) always returns -1

    Keith Cheung committed
    Bug: 20921928
    Change-Id: I8582eaba6031904d5c820203900f32d0f7ff32c0
  2. Merge "Fix crash when inserting reminder/attendee/extended property t…

    Tony Mak committed with Android (Google) Code Review
    …o a non-existent event" into mnc-dev
  3. Merge "Fix CalendarProvider2Test" into mnc-dev

    Tony Mak committed with Android (Google) Code Review
  4. Fix crash when inserting reminder/attendee/extended property to a non…

    Tony Mak committed
    …-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
  5. Fix CalendarProvider2Test

    Tony Mak committed
    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
Commits on Apr 22, 2015
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: Icde8e270f167fcbc20eeb0ab050fb0863182e352
    Auto-generated-cl: translation import
Commits on Apr 2, 2015
  1. @klyubin

    CalendarProvider does not use cleartext network traffic.

    klyubin committed
    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
Commits on Mar 22, 2015
  1. am 70936ef: (-s ours) reset to lmp-mr1-dev-plus-aosp with history. DO…

    Qiwen Zhao committed with Android Git Automerger
    … NOT MERGE ANYWHERE.
    
    * commit '70936efe38d456e827c11f9bbd98845677ae85a9':
Commits on Mar 21, 2015
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: I23abbb9aa328141fd53655b1a0616f480ffb9444
    Auto-generated-cl: translation import
Commits on Mar 20, 2015
  1. am 019c2e1: (-s ours) am 80976af: (-s ours) am 3f7d0cc: (-s ours) Imp…

    Baligh Uddin committed with Android Git Automerger
    …ort translations. DO NOT MERGE
    
    * commit '019c2e1d8fa7a317c67b07eff73d90d49e564f18':
  2. am e689755: (-s ours) am 7f436de: (-s ours) am ab9a077: (-s ours) Mer…

    Baligh Uddin committed with Android Git Automerger
    …ge "Import translations. DO NOT MERGE" into lmp-dev
    
    * commit 'e6897552c2f7e79660cffce68912b046aaad40bc':
  3. am e6bd661: (-s ours) am 49d0988: (-s ours) am f4662dd: (-s ours) am 5…

    Baligh Uddin committed with Android Git Automerger
    …1b66a9: (-s ours) am 4808a43: (-s ours) Import translations. DO NOT MERGE
    
    * commit 'e6bd661d739f7efb2f23ec8f4068db1be4efe3da':
Commits on Mar 11, 2015
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: I895499d65185c495a93886f93105cb702aec1dd6
    Auto-generated-cl: translation import
Commits on Mar 9, 2015
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: Ic8cb715f7fed9107548c9d0a7ba5137b4964a5c6
    Auto-generated-cl: translation import
Commits on Feb 26, 2015
  1. am d2d82f3: (-s ours) am c407de2: (-s ours) Import translations. DO N…

    Geoff Mendal committed with Android Git Automerger
    …OT MERGE
    
    * commit 'd2d82f312f6c25c7ed5ccd6e853cac606bfb04fd':
      Import translations. DO NOT MERGE
  2. am c407de2: (-s ours) Import translations. DO NOT MERGE

    Geoff Mendal committed with Android Git Automerger
    * commit 'c407de23e8ca46e84448631169be368694cc9d05':
      Import translations. DO NOT MERGE
  3. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: Icba5388e598c136726d3a4b9feaa130ecb7d03e7
    Auto-generated-cl: translation import
Commits on Feb 12, 2015
  1. am ffab862: (-s ours) am 614e584: (-s ours) Import translations. DO N…

    Geoff Mendal committed with Android Git Automerger
    …OT MERGE
    
    * commit 'ffab862f25dffe3c9c9d688cc1eb9b936db10734':
      Import translations. DO NOT MERGE
  2. am 614e584: (-s ours) Import translations. DO NOT MERGE

    Geoff Mendal committed with Android Git Automerger
    * commit '614e584ac203e9268c6df636e08cd8e5b25465aa':
      Import translations. DO NOT MERGE
  3. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: Id32f4a8bd5c6b6e94dc39c33ffc5c26d0a8b136b
    Auto-generated-cl: translation import
Commits on Feb 2, 2015
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: Ic9a879bcdafda0380d6a0cc72623419d38464b62
    Auto-generated-cl: translation import
Commits on Jan 30, 2015
  1. No longer need to take care of pre boot msg.

    Dianne Hackborn committed
    Change-Id: I877c569a0e134cd501d7b95518d5c15a7e4489f2
Commits on Dec 22, 2014
  1. Import translations. DO NOT MERGE

    Baligh Uddin committed
    Change-Id: I0f4c2abd8ec69fc093a270d401cff6200eb0c384
    Auto-generated-cl: translation import
Commits on Dec 12, 2014
  1. am 109d19c: am 2dc73a4: am 96d6780: Before the first call to clearCal…

    Sam Blitzstein committed with Android Git Automerger
    …lingIdentity, cache the calling package.
    
    * commit '109d19ccd3b6251e242c40cb560d3b2385472148':
      Before the first call to clearCallingIdentity, cache the calling package.
  2. am 2dc73a4: am 96d6780: Before the first call to clearCallingIdentity…

    Sam Blitzstein committed with Android Git Automerger
    …, cache the calling package.
    
    * commit '2dc73a40911dfc959c340d084232cc2dca621685':
      Before the first call to clearCallingIdentity, cache the calling package.
Commits on Dec 11, 2014
  1. am 96d6780: Before the first call to clearCallingIdentity, cache the …

    Sam Blitzstein committed with Android Git Automerger
    …calling package.
    
    * commit '96d67800c827efb5c08adaa32e221aaae53d02a4':
      Before the first call to clearCallingIdentity, cache the calling package.
Commits on Dec 10, 2014
  1. Before the first call to clearCallingIdentity, cache the calling pack…

    Sam Blitzstein committed
    …age.
    
    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
Commits on Dec 8, 2014
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: I44a61c683d3780730a1ae14f584e5cde72342cf4
    Auto-generated-cl: translation import
Commits on Nov 24, 2014
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: I9c7ab9a4ce4a4cf6ad91aea05ad71c34b8c8e3de
    Auto-generated-cl: translation import
Commits on Nov 19, 2014
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: I6a294006a63cf04242eca4dbef093bb624460c78
    Auto-generated-cl: translation import
Commits on Nov 10, 2014
  1. Import translations. DO NOT MERGE

    Geoff Mendal committed
    Change-Id: I4a6b93c7183c250fb9e5137353e8991c6b7f9f7c
    Auto-generated-cl: translation import
Commits on Oct 31, 2014
  1. am 18ab487: (-s ours) am a0960e7: (-s ours) Import translations. DO N…

    Baligh Uddin committed with Android Git Automerger
    …OT MERGE
    
    * commit '18ab48703c61071328a149eaff328e878e73b370':
      Import translations. DO NOT MERGE
Something went wrong with that request. Please try again.