diff options
Diffstat (limited to 'services/java/com/android/server/content/SyncOperation.java')
-rw-r--r-- | services/java/com/android/server/content/SyncOperation.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/java/com/android/server/content/SyncOperation.java b/services/java/com/android/server/content/SyncOperation.java index eef20b2..036b21f 100644 --- a/services/java/com/android/server/content/SyncOperation.java +++ b/services/java/com/android/server/content/SyncOperation.java @@ -60,7 +60,7 @@ public class SyncOperation implements Comparable { public static final int SYNC_TARGET_ADAPTER = 1; public static final int SYNC_TARGET_SERVICE = 2; - /** Identifying info for the authority for this operation. */ + /** Identifying info for the target for this operation. */ public final SyncStorageEngine.EndPoint target; /** Why this sync was kicked off. {@link #REASON_NAMES} */ public final int reason; @@ -143,11 +143,11 @@ public class SyncOperation implements Comparable { this.flexTime = flexTime; } updateEffectiveRunTime(); - return toKey(info, extras); + return toKey(info, this.extras); } public boolean matchesAuthority(SyncOperation other) { - return this.target.matches(other.target); + return this.target.matchesSpec(other.target); } /** |