OSDN Git Service

Stop using IntentService and use async receiver (2/2 - contract)
authorMakoto Onuki <omakoto@google.com>
Fri, 10 Feb 2017 01:06:28 +0000 (17:06 -0800)
committerMakoto Onuki <omakoto@google.com>
Fri, 10 Feb 2017 01:07:06 +0000 (17:07 -0800)
commitb63830a7241a0bb9cb7b3d512138713449b62af2
treef1934d16afa3521f9715672dfbef11d57f5149c0
parentb09ac24c3c7097c85609b430aee1b6fe6e8db321
Stop using IntentService and use async receiver (2/2 - contract)

Also:
- Set FLAG_RECEIVER_INCLUDE_BACKGROUND for ACTION_EVENT_REMINDER
- Remove the wake lock; with goAsync() now it's not needed.

Test: Manual test with: adb shell am broadcast --receiver-include-background -a android.intent.action.EVENT_REMINDER -d content:
Bug 35207106

Change-Id: I9e456f473f13b71df6e0dd1a1abdb0df8c26e6c7
core/java/android/provider/CalendarContract.java