commit | ae173fef18e04d47c6f9fe51ee07afeb0d5f9155 | [log] [tgz] |
---|---|---|
author | Santiago Seifert <aquilescanta@google.com> | Tue Jul 12 15:00:26 2022 +0000 |
committer | Santiago Seifert <aquilescanta@google.com> | Fri Sep 23 19:47:00 2022 +0000 |
tree | a8128ca7af4fbc71ba70119619977ee7f63892b9 | |
parent | 9958359cedb3b49b365ebc800d84282520534fc5 [diff] |
Guard MediaDeviceManager.Entry against successive stop calls This is a cherrypick of commit 543dd362fed9c1d1c2a7fac043640df5e0b79eab. It's non obvious from the code that an entry will be stopped only once. The start() protection is added for simmetry. Bug: 232812007 Test: Manual behavioral test. Test: atest MediaDeviceManagerTest MediaDataCombineLatestTest Change-Id: Icb4573d30790b4055b67eff57c495ceb6c3ae61b Merged-In: Icb4573d30790b4055b67eff57c495ceb6c3ae61b