summaryrefslogtreecommitdiff
path: root/libs/androidfw/PosixUtils.cpp
diff options
context:
space:
mode:
author Santiago Seifert <aquilescanta@google.com> 2022-07-12 15:00:26 +0000
committer Santiago Seifert <aquilescanta@google.com> 2022-09-23 19:47:00 +0000
commitae173fef18e04d47c6f9fe51ee07afeb0d5f9155 (patch)
treea8128ca7af4fbc71ba70119619977ee7f63892b9 /libs/androidfw/PosixUtils.cpp
parent9958359cedb3b49b365ebc800d84282520534fc5 (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
Diffstat (limited to 'libs/androidfw/PosixUtils.cpp')
0 files changed, 0 insertions, 0 deletions