| java.lang.Object | ||
| android.content.SyncContext | ||
Class that contains methods for SyncAdapters and ContentProviders to interact with the Sync UI.
| int | runActivity(Intent intent, Map extrasOut) | ||||
| Start the activity for "intent" and wait for the result. | |||||
| void | setStatusText(String text) | ||||
Methods inherited
from class
java.lang.Object
This method will block until the activity is finished, so you must be very careful not to call it with any locks held. You could easily deadlock the system.
Be sure to check the return result against Activity.RESULT_CANCELED, in case they cancelled via your UI.