commit | 285c0a041cb21bd72e4971702cd28fd2d1253e9a | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Feb 10 04:28:41 2022 +0000 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Feb 10 04:31:15 2022 +0000 |
tree | be9a9128349034b4412623acffd2209dc14af379 | |
parent | 5194b3538c62b8e2e2b83e087d0e74fca20a147e [diff] |
audio VTS: Fix HAL device management Straighten out logic in DeviceManager for proper handling of IPrimaryDevice and IDevice instances across all supported HAL versions. This fixes a recently introduced bug which was causing the same HAL device to be opened twice in a row, and then closed twice. Bug: 218610286 Test: atest VtsHalAudioV7_0TargetTest Test: atest VtsHalAudioV7_1TargetTest Change-Id: I415cbadae9d325ac63160e49e5e638906c8c63fd