diff options
author | Fred Quintana <fredq@google.com> | 2009-06-22 18:00:59 -0700 |
---|---|---|
committer | Fred Quintana <fredq@google.com> | 2009-06-23 15:53:16 -0700 |
commit | ac9385ef3105fb7464e1f46049c62755a8b7f0e9 (patch) | |
tree | 922fb69a8ec88aaa1ade3be16a9f7aa0d46fa25b /core/java/android/content/SyncStatusObserver.java | |
parent | f86a58ff3d14fa6af3fa447809b45895bbb365f6 (diff) | |
download | frameworks_base-ac9385ef3105fb7464e1f46049c62755a8b7f0e9.zip frameworks_base-ac9385ef3105fb7464e1f46049c62755a8b7f0e9.tar.gz frameworks_base-ac9385ef3105fb7464e1f46049c62755a8b7f0e9.tar.bz2 |
- clean up the sync settings names to:
(get|set)SyncAutomatically
(get|set)MasterSyncAutomatically
- change SYNC_EXTRAS_FORCE to SYNC_EXTRAS_MANUAL to mace clear that
this overrides the .*SyncAutomatically settings
- make ContentResolver methods that call the sync controls methods
in IContentService so that SDK users can use them
- rename startSync to requestSync to reinforce the fact that a sync
is not immediately or always started when this method is called
- add an Account parameter to all the sync settings and control methods
- change the sync control methods to take a String authority rather than a Uri uri
Diffstat (limited to 'core/java/android/content/SyncStatusObserver.java')
-rw-r--r-- | core/java/android/content/SyncStatusObserver.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/java/android/content/SyncStatusObserver.java b/core/java/android/content/SyncStatusObserver.java new file mode 100644 index 0000000..663378a --- /dev/null +++ b/core/java/android/content/SyncStatusObserver.java @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2009 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.content; + +public interface SyncStatusObserver { + void onStatusChanged(int which); +} |