diff options
Diffstat (limited to 'core/java/android/content/IContentService.aidl')
-rw-r--r-- | core/java/android/content/IContentService.aidl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/content/IContentService.aidl b/core/java/android/content/IContentService.aidl index 8617d949..4352227 100644 --- a/core/java/android/content/IContentService.aidl +++ b/core/java/android/content/IContentService.aidl @@ -16,6 +16,7 @@ package android.content; +import android.accounts.Account; import android.content.ActiveSyncInfo; import android.content.ISyncStatusObserver; import android.content.SyncStatusInfo; @@ -60,7 +61,7 @@ interface IContentService { * Returns true if there is currently a sync operation for the given * account or authority in the pending list, or actively being processed. */ - boolean isSyncActive(String account, String authority); + boolean isSyncActive(in Account account, String authority); ActiveSyncInfo getActiveSync(); @@ -75,7 +76,7 @@ interface IContentService { /** * Return true if the pending status is true of any matching authorities. */ - boolean isAuthorityPending(String account, String authority); + boolean isAuthorityPending(in Account account, String authority); void addStatusChangeListener(int mask, ISyncStatusObserver callback); |