commit | 76ca9a880e6d49235126207c75d80410e5eac72d | [log] [tgz] |
---|---|---|
author | Hongguang <hgchen@google.com> | Wed Oct 06 17:11:09 2021 -0700 |
committer | Hongguang <hgchen@google.com> | Thu Oct 07 12:43:58 2021 -0700 |
tree | bafa80aa51184da75ad6f8b5b4c512097b21efeb | |
parent | e613d20f91c7b3fb229b01e22a121570675cb5fe [diff] |
Stop current tuning before starting a new tuning. If a new tuning request comes before stop old tuning, there is race condition that the Frontend loop thread may crash while terminate(). Bug: 202335601 Fix: 202335601 Test: atest android.media.tv.tuner.cts Change-Id: Ic168b585f0a8fe36bd8eeceee3e0b4c83d5388aa