summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/IContentService.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/content/IContentService.aidl')
-rw-r--r--core/java/android/content/IContentService.aidl4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/content/IContentService.aidl b/core/java/android/content/IContentService.aidl
index 1e96713..d363ad1 100644
--- a/core/java/android/content/IContentService.aidl
+++ b/core/java/android/content/IContentService.aidl
@@ -82,6 +82,8 @@ interface IContentService {
* @param sync true if the provider should be synced when tickles are received for it
*/
void setSyncAutomatically(in Account account, String providerName, boolean sync);
+ void setSyncAutomaticallyAsUser(in Account account, String providerName, boolean sync,
+ int userId);
/**
* Get a list of periodic operations for a specified authority, or service.
@@ -170,6 +172,8 @@ interface IContentService {
* non-null.
*/
boolean isSyncPending(in Account account, String authority, in ComponentName cname);
+ boolean isSyncPendingAsUser(in Account account, String authority, in ComponentName cname,
+ int userId);
void addStatusChangeListener(int mask, ISyncStatusObserver callback);