diff options
author | Hunter Knepshield <hknepshield@google.com> | 2021-02-26 18:52:56 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-26 18:52:56 +0000 |
commit | b79c80ba780d4fb98e91fc9f8e824dc7687ed170 (patch) | |
tree | c18c8912e4ec7bee3d78b1c5d07a095879169efb | |
parent | b87d41ab874a1b81297fe69fb78133e7cf2dd452 (diff) | |
parent | 39742a519cbd29d120a38c5657826b5793823e5d (diff) |
Merge "[API review] Additional detail in BugreportCallback javadoc." am: 39742a519c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607112
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id0c2b746e1be4944a6caa05c6764f37cf960bace
-rw-r--r-- | core/java/android/os/BugreportManager.java | 7 |
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 { /** |