diff options
| author | 2021-01-22 16:27:56 +0000 | |
|---|---|---|
| committer | 2021-01-22 16:27:56 +0000 | |
| commit | fc587d078420417f0ea501d16ab8af102d69a952 (patch) | |
| tree | 991662ddd193e317ae29d700eb2878f1ea2e57ad | |
| parent | 17662e066de5dd3901e1736974981d732d0a976a (diff) | |
| parent | 272d76d80dd2ecdd2ac5b789e47ed862ab8dd482 (diff) | |
Merge "Make DumpstateListener onError method oneway" am: 272d76d80d
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1546006
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7186c5fa87a67bb0472adac3d4d6dc0e636454c3
| -rw-r--r-- | cmds/dumpstate/binder/android/os/IDumpstateListener.aidl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmds/dumpstate/binder/android/os/IDumpstateListener.aidl b/cmds/dumpstate/binder/android/os/IDumpstateListener.aidl index 85e6969180..50c1624dc2 100644 --- a/cmds/dumpstate/binder/android/os/IDumpstateListener.aidl +++ b/cmds/dumpstate/binder/android/os/IDumpstateListener.aidl @@ -21,8 +21,6 @@ package android.os; * * <p>When bugreport creation is complete one of {@code onError} or {@code onFinished} is called. * - * <p>These methods are synchronous by design in order to make dumpstate's lifecycle simpler - * to handle. * * {@hide} */ @@ -54,10 +52,8 @@ interface IDumpstateListener { /** * Called on an error condition with one of the error codes listed above. - * This is not an asynchronous method since it can race with dumpstate exiting, thus triggering - * death recipient. */ - void onError(int errorCode); + oneway void onError(int errorCode); /** * Called when taking bugreport finishes successfully. |