summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorHunter Knepshield <hknepshield@google.com>2021-02-26 18:31:22 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-26 18:31:22 +0000
commit39742a519cbd29d120a38c5657826b5793823e5d (patch)
tree28e64a0f419992397db97064a6343ee033750d98 /core/java/android
parent1736ad8bfe1ca19d477fbc3eaeae44e8d724d974 (diff)
parent433d3576043396d1c06c8f552666a2759b7c5b1d (diff)
Merge "[API review] Additional detail in BugreportCallback javadoc."
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/BugreportManager.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/java/android/os/BugreportManager.java b/core/java/android/os/BugreportManager.java
index a435ac12d33c..73bb8d566500 100644
--- a/core/java/android/os/BugreportManager.java
+++ b/core/java/android/os/BugreportManager.java
@@ -68,8 +68,11 @@ public final class BugreportManager {
/**
* An interface describing the callback for bugreport progress and status.
*
- * <p>In general, callers can expect to receive {@link #onProgress} calls as the bugreport
- * progresses, followed by a terminal call to either {@link #onFinished} or {@link #onError}.
+ * <p>Callers will receive {@link #onProgress} calls as the bugreport progresses, followed by a
+ * terminal call to either {@link #onFinished} or {@link #onError}.
+ *
+ * <p>If an issue is encountered while starting the bugreport asynchronously, callers will
+ * receive an {@link #onError} call without any {@link #onProgress} callbacks.
*/
public abstract static class BugreportCallback {
/**