commit | 7fd95182fe4be8eef25ccf1476d4216a69d4fdcd | [log] [tgz] |
---|---|---|
author | Matthew Bouyack <mbouyack@google.com> | Mon Dec 20 10:34:39 2021 -0800 |
committer | Matthew Bouyack <mbouyack@google.com> | Mon Dec 20 12:21:10 2021 -0800 |
tree | 73cf0f4e354fcf53b72dbf698e27ed0175bfc261 | |
parent | 5762c46787ff1e41116f22e6bb8dc5d425d45ae9 [diff] |
Track elapsed time for 'waitStreamEnd' timeout Total elapsed time was not being updated and so 'waitStreamEnd' could never time out. Allowing timeout to work correctly avoids certain deadlocks. Note that the new logic matches that in ClientProxy::obtainBuffer. Test: CTS : AudioTrackOffloadTest#testMP3AudioTrackOffload Bug: 207382575 Change-Id: I118fec778aab86ad53bef144d2a231cac08a1f2c