[automerger skipped] aaudio: fix race when disconnecting am: 50fd22f3d7 am: 7ac6d36824 -s ours am: 59ddfc341c -s ours am: a8c2254a01 -s ours am: e011d2eac9 -s ours

am skip reason: Change-Id Ib8efde9c2f94f6ab1ba3475d88b45d373cc8d3bb with SHA-1 50fd22f3d7 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/11793980

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I490794be6f5b0a680a955c755b5bea561e01fe57