summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/content/SyncStorageEngine.java
diff options
context:
space:
mode:
authorMatthew Williams <mjwilliams@google.com>2014-03-24 14:42:06 -0700
committerMatthew Williams <mjwilliams@google.com>2014-03-24 14:42:06 -0700
commitbb87ac7f9733ca9b490cb34e8a675dba083a57b7 (patch)
tree1dafdaf3def68c809f7831fecbe86c8330dc2ceb /services/java/com/android/server/content/SyncStorageEngine.java
parentc41853cee89b391cd2d4d93205ea69c746ccfa4c (diff)
downloadframeworks_base-bb87ac7f9733ca9b490cb34e8a675dba083a57b7.zip
frameworks_base-bb87ac7f9733ca9b490cb34e8a675dba083a57b7.tar.gz
frameworks_base-bb87ac7f9733ca9b490cb34e8a675dba083a57b7.tar.bz2
DO NOT MERGE: Downgrade expedited to normal on reschedule.
bug: 12033540 Expedited was previously tracked by a redundant internal variable, ostensibly as an optimisation. This variable could differ from the value in the bundle depending on how the operation is initialised, which led to confusion. Now an expedited sync will only be treated as such on its first execution. Change-Id: Ibfc4e9e49b86c82f2364a6ef55f887705a053eb6
Diffstat (limited to 'services/java/com/android/server/content/SyncStorageEngine.java')
-rw-r--r--services/java/com/android/server/content/SyncStorageEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/content/SyncStorageEngine.java b/services/java/com/android/server/content/SyncStorageEngine.java
index 5ebf9ea..781280e 100644
--- a/services/java/com/android/server/content/SyncStorageEngine.java
+++ b/services/java/com/android/server/content/SyncStorageEngine.java
@@ -501,7 +501,7 @@ public class SyncStorageEngine extends Handler {
* @return amount of seconds before syncTimeSeconds that the sync can occur.
* I.e.
* earliest_sync_time = syncTimeSeconds - calculateDefaultFlexTime(syncTimeSeconds)
- * The flex time is capped at a percentage of the {@link DEFAULT_POLL_FREQUENCY_SECONDS}.
+ * The flex time is capped at a percentage of the {@link #DEFAULT_POLL_FREQUENCY_SECONDS}.
*/
public static long calculateDefaultFlexTime(long syncTimeSeconds) {
if (syncTimeSeconds < DEFAULT_MIN_FLEX_ALLOWED_SECS) {