summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Varun Shah <varunshah@google.com> 2024-08-21 00:47:01 +0000
committer Varun Shah <varunshah@google.com> 2024-08-21 00:47:01 +0000
commiteff9a9f74733850932c8822ea7be4b6fd3ee0bdc (patch)
treeba8386c1fe34e32e46cd4fb3ab7a9e122cbcf7f7
parent77546c0b79042326a6a161202acc737244a36800 (diff)
Update SyncAdapter documentation to reflect the current timeout value.
Bug: n/a Change-Id: Ieac7b1d9fb933b8c050eacbf63c78892ff0458cd Test: n/a (doc update) Flag: EXEMPT bugfix
-rw-r--r--core/java/android/content/AbstractThreadedSyncAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/content/AbstractThreadedSyncAdapter.java b/core/java/android/content/AbstractThreadedSyncAdapter.java
index da4ecdd8c1f2..9649cab1e09a 100644
--- a/core/java/android/content/AbstractThreadedSyncAdapter.java
+++ b/core/java/android/content/AbstractThreadedSyncAdapter.java
@@ -42,7 +42,7 @@ import java.util.concurrent.atomic.AtomicInteger;
* will be invoked on that thread.
* <p>
* Syncs can be cancelled at any time by the framework. For example a sync that was not
- * user-initiated and lasts longer than 30 minutes will be considered timed-out and cancelled.
+ * user-initiated and lasts longer than 10 minutes will be considered timed-out and cancelled.
* Similarly the framework will attempt to determine whether or not an adapter is making progress
* by monitoring its network activity over the course of a minute. If the network traffic over this
* window is close enough to zero the sync will be cancelled. You can also request the sync be