summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/IContentService.aidl
diff options
context:
space:
mode:
authorAlexandra Gherghina <alexgherghina@google.com>2014-07-02 17:07:16 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-07-02 16:34:47 +0000
commit1e1f2e89267f17723a2afc90a7e894e01fc64701 (patch)
tree85a6b363b9cbfeb16d7736309783edb8424f8ab3 /core/java/android/content/IContentService.aidl
parentbe55c0d23b02f9de9f295f3bca2f7cd7f016c4d6 (diff)
parentcb22807ffcf79db1b62162842d0a90251a463ea7 (diff)
downloadframeworks_base-1e1f2e89267f17723a2afc90a7e894e01fc64701.zip
frameworks_base-1e1f2e89267f17723a2afc90a7e894e01fc64701.tar.gz
frameworks_base-1e1f2e89267f17723a2afc90a7e894e01fc64701.tar.bz2
Merge "Adds per-user APIs required by the Settings app"
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);