public static class

EditContactActivity.PersistTask

extends WeakAsyncTask<Params, Progress, Result, WeakTarget>
java.lang.Object
   ↳ android.os.AsyncTask<Params, Progress, Result>
     ↳ com.android.contacts.util.WeakAsyncTask<Params, Progress, Result, WeakTarget>
       ↳ com.android.contacts.ui.EditContactActivity.PersistTask

Class Overview

Background task for persisting edited contact data, using the changes defined by a set of EntityDelta. This task starts EmptyService to make sure the background thread can finish persisting in cases where the system wants to reclaim our process.

Summary

[Expand]
Inherited Fields
From class com.android.contacts.util.WeakAsyncTask
From class android.os.AsyncTask
Public Constructors
EditContactActivity.PersistTask(EditContactActivity target, int saveMode)
Protected Methods
Integer doInBackground(EditContactActivity target, EntitySet... params)
void onPostExecute(EditContactActivity target, Integer result)
void onPreExecute(EditContactActivity target)
[Expand]
Inherited Methods
From class com.android.contacts.util.WeakAsyncTask
From class android.os.AsyncTask
From class java.lang.Object

Public Constructors

public EditContactActivity.PersistTask (EditContactActivity target, int saveMode)

Protected Methods

protected Integer doInBackground (EditContactActivity target, EntitySet... params)

protected void onPostExecute (EditContactActivity target, Integer result)

protected void onPreExecute (EditContactActivity target)