DO NOT MERGE - Move scheduled alarm scrub off main thread
We currently do a database update when the "boot completed" intent
is received. Doing it on the main thread appears to be causing ANRs,
so this moves it to a background thread. An "empty" service is
used to discourage the system from killing the provider while this
is in progress.
Also, removed an unused field from CalendarAlarmManager.
Bug 5262151
(cherry-pick from master)
Change-Id: Ic3a3da986b5c8f271a6310e56f61839897ba8336
4 files changed