Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc587d07 authored by Gavin Corkery's avatar Gavin Corkery Committed by Automerger Merge Worker
Browse files

Merge "Make DumpstateListener onError method oneway" am: 272d76d8

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1546006

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7186c5fa87a67bb0472adac3d4d6dc0e636454c3
parents 17662e06 272d76d8
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -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.