bed0275111ecc6c4a3a638f90a9bac13bee594f4 |
|
27-Apr-2010 |
Michael Chan <mchan@android.com> |
AsyncQueryService Helper class that performs ContentProvider operations in a Service Features: - Executes the operation in a background Sservice which minimizes the chance of the operation getting lost because the caller (Activity) is killed. - Designed for easy migration from AsyncQueryHandler. - In additional to query/insert/update/delete, it also supports batch mode i.e. ContentProviderOperation - Undo support in the form for delayed operation with cancel Todo: - Add wake lock Change-Id: Id3b24a34e5af11da448bace585911bcd7d4553c5
/packages/apps/Calendar/tests/src/com/android/calendar/AsyncQueryServiceTest.java
|