| commit | 10a03f1713e29eadfa862087e504f9e14964387e | [log] [tgz] |
|---|---|---|
| author | jiabin <jiabin@google.com> | Fri May 07 23:46:28 2021 +0000 |
| committer | jiabin <jiabin@google.com> | Fri May 14 19:51:36 2021 +0000 |
| tree | 320b84507bbe2c9fbdc6afd0c7349819796ccd3d | |
| parent | f4fb66b3fd8f5274e4a7692ed31afbf70f39394e [diff] |
Do not invalidate stream when the secondary outputs are changed. When a dynamic policy is registered, the secondary outputs may be changed. Instead of tearing down the tracks, only tracks whose secondary outputs are changed will be updated with the new secondary outputs. Bug: 181582467 Test: atest AudioPlaybackCaptureTest audiopolicy_tests Test: repo steps in the bug Change-Id: I9a47a0a4b37ad3f4a1d554dd726ebffb27325141