diff options
author | David Li <dvdli@google.com> | 2021-07-19 12:48:06 +0800 |
---|---|---|
committer | David Li <dvdli@google.com> | 2021-07-19 16:26:42 +0800 |
commit | 238fbcc61a393b672cf59db6a4d29ef476cd56d3 (patch) | |
tree | c4612299567b761d2df2979ba2c04301998e5fdf /camera/common/1.0/default/CameraModule.cpp | |
parent | 04247248ceb8b41950bcfc59e89cace7704565e5 (diff) |
audio: make sure to set back to AudioMode::NORMAL after the test case
If the major version is greater than or equal to 6, the test tries
to set the mode to AudioMode::CALL_SCREEN. However, it doesn't set
back to AudioMode::NORMAL. Replace all ASSERT with EXPECT to ensure the
test can reach to the explicit call to reset to AudioMode::NORMAL.
Bug: 194022995
Test: atest VtsHalAudioV7_0TargetTest
Change-Id: Ib9b6e310965a85b016853b72c60716fa054641c6
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions