libaudiohal@aidl: Allow onError callback in any state

In practice, the AoC can crash while the stream is in
any state, thus this should be allowed for correct
handling of error conditions in the framework.

Bug: 339400414
Test: repro steps for simulating AoC crash in b/339400414
(cherry picked from https://android-review.googlesource.com/q/commit:d55cdb930e3a8e9a7d73c0891a635fd3fb5df84e)
Merged-In: I4b561fcba7f5e36295bd90aa685e63430f46a1aa
Change-Id: I4b561fcba7f5e36295bd90aa685e63430f46a1aa
1 file changed