|
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
|