Commit 7940fdfc by eguven Committed by Oliver Woodman

Fix DownloadManager.TaskState javadoc

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=215213255
parent 46731cdd
...@@ -528,9 +528,9 @@ public final class DownloadManager { ...@@ -528,9 +528,9 @@ public final class DownloadManager {
* <p>Transition diagram: * <p>Transition diagram:
* *
* <pre> * <pre>
* -&gt; canceled * ┌────────┬─────→ canceled
* queued &lt;-&gt; started -&gt; completed * queued ↔ started ┬→ completed
* -&gt; failed * └→ failed
* </pre> * </pre>
*/ */
@Documented @Documented
...@@ -609,18 +609,15 @@ public final class DownloadManager { ...@@ -609,18 +609,15 @@ public final class DownloadManager {
* {@link #STATE_QUEUED_CANCELING}, {@link #STATE_STARTED_CANCELING} or {@link * {@link #STATE_QUEUED_CANCELING}, {@link #STATE_STARTED_CANCELING} or {@link
* #STATE_STARTED_STOPPING}. * #STATE_STARTED_STOPPING}.
* *
* <p>Transition map (vertical states are source states): * <p>Transition diagram:
* *
* <pre> * <pre>
* +------+-------+---------+-----------+-----------+--------+--------+------+ * ┌───→ q_canceling ┬→ canceled
* |queued|started|completed|q_canceling|s_canceling|canceled|stopping|failed| * │ s_canceling ┘
* +-----------+------+-------+---------+-----------+-----------+--------+--------+------+ * │ ↑
* |queued | | X | | X | | | | | * queued → started ────┬→ completed
* |started | | | X | | X | | X | X | * ↑ ↓ └→ failed
* |q_canceling| | | | | | X | | | * └──── s_stopping
* |s_canceling| | | | | | X | | |
* |stopping | X | | | | | | | |
* +-----------+------+-------+---------+-----------+-----------+--------+--------+------+
* </pre> * </pre>
*/ */
@Documented @Documented
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment