audio: Allow onError callback in any state am: ab222c63bc am: 8f6258ca6a

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3095975

Change-Id: I37ea081feaad93ca409bcf8f3c7dff3082efdf11
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Mikhail Naganov 2024-05-22 00:05:26 +00:00 committed by Automerger Merge Worker
commit 84bef270dd

View file

@ -51,9 +51,7 @@ digraph stream_out_async_state_machine {
DRAIN_PAUSED -> DRAINING [label="start"]; // consumer -> active
DRAIN_PAUSED -> TRANSFER_PAUSED [label="burst"]; // producer -> active
DRAIN_PAUSED -> IDLE [label="flush"]; // buffer is cleared
IDLE -> ERROR [label="←IStreamCallback.onError"];
DRAINING -> ERROR [label="←IStreamCallback.onError"];
TRANSFERRING -> ERROR [label="←IStreamCallback.onError"];
ANY_STATE -> ERROR [label="←IStreamCallback.onError"];
ANY_STATE -> CLOSED [label="→IStream*.close"];
CLOSED -> F;
}