commit | 66351e5a9f72e855cf5aee3797f6bef9aafc82cf | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Tue Apr 16 16:27:10 2024 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Apr 16 16:27:10 2024 +0000 |
tree | 0474dfa68ac5a5270b0f41a892bb9298b9a24794 | |
parent | 613782fa78a0ee7a97b5c7de6febce089f152fa8 [diff] |
audio: Align bluetooth start behavior When staring data transfer, if resuming of BT session fails, the legacy implementation does not indicate an error, thus causing an automatic retry on next transfer. The AIDL implementation was switching the stream into an error state instead. This could cause audio mute when the BT stack is slow on resuming. This CL aligns AIDL with legacy behavior. Bug: 333307789 Test: repro steps in the bug (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3f4c7fca29db4b82d597bb56478f40a75cef618c) Merged-In: I5080a7275671287f188930f041c5ff2215ed2e1e Change-Id: I5080a7275671287f188930f041c5ff2215ed2e1e