summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/ISyncAdapter.aidl
diff options
context:
space:
mode:
authorFred Quintana <fredq@google.com>2009-06-16 10:24:58 -0700
committerFred Quintana <fredq@google.com>2009-06-16 15:25:24 -0700
commit21bb0deb36af32339521038cdbd827f74468df4a (patch)
treee8f8d47fd40cda7233e2a3fd7efe355613030500 /core/java/android/content/ISyncAdapter.aidl
parentd638d8d6305bf5861736045e0215099d2fb693f1 (diff)
downloadframeworks_base-21bb0deb36af32339521038cdbd827f74468df4a.zip
frameworks_base-21bb0deb36af32339521038cdbd827f74468df4a.tar.gz
frameworks_base-21bb0deb36af32339521038cdbd827f74468df4a.tar.bz2
beef up the syncadapter API
Diffstat (limited to 'core/java/android/content/ISyncAdapter.aidl')
-rw-r--r--core/java/android/content/ISyncAdapter.aidl7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/content/ISyncAdapter.aidl b/core/java/android/content/ISyncAdapter.aidl
index d228605..4660527 100644
--- a/core/java/android/content/ISyncAdapter.aidl
+++ b/core/java/android/content/ISyncAdapter.aidl
@@ -31,14 +31,17 @@ oneway interface ISyncAdapter {
*
* @param syncContext the ISyncContext used to indicate the progress of the sync. When
* the sync is finished (successfully or not) ISyncContext.onFinished() must be called.
+ * @param authority the authority that should be synced
* @param account the account that should be synced
* @param extras SyncAdapter-specific parameters
*/
- void startSync(ISyncContext syncContext, in Account account, in Bundle extras);
+ void startSync(ISyncContext syncContext, String authority,
+ in Account account, in Bundle extras);
/**
* Cancel the most recently initiated sync. Due to race conditions, this may arrive
* after the ISyncContext.onFinished() for that sync was called.
+ * @param syncContext the ISyncContext that was passed to {@link #startSync}
*/
- void cancelSync();
+ void cancelSync(ISyncContext syncContext);
}