commit | 1d557af66e0ba44eae39a7bf3878cf256fd8f136 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Wed Oct 26 10:00:03 2011 -0700 |
committer | Andy McFadden <fadden@android.com> | Thu Oct 27 16:42:44 2011 -0700 |
tree | 387288f3274f6228069e2a6abfdcbb46a5987679 | |
parent | 20afcb20352ef7c47297e91ddc5d5957bcada6af [diff] |
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 Change-Id: I8e5b1bd7782500e1827f43d7a453f824a1e7944c