Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cras: Reorder cras_iodev_list stream_list_changed_cb
Reorder stream_list_changed_cb to put cras_speak_on_mute_detector_streams_changed in the last order. It is to avoid crash because cras_speak_on_mute_detector_streams_changed can delete an element from all_streams variable, making it to have an invalid pointer. BUG=b:367182967 TEST=tast run ${DUT} audio.CrasSpeakOnMuteDetection.rtc_stream_without_apm Disallow-Recycled-Builds: tast-failures Change-Id: I6a07e620f6c840ebc066ba49b53bdb745c14e19c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5872341 Reviewed-by: Curtis Malainey <cujomalainey@chromium.org> Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com <chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com> Auto-Submit: Norman Bintang <normanbt@chromium.org> Reviewed-by: Li-Yu Yu <aaronyu@google.com> Tested-by: Norman Bintang <normanbt@chromium.org> Commit-Queue: Norman Bintang <normanbt@chromium.org>
- Loading branch information