commit | 238fbcc61a393b672cf59db6a4d29ef476cd56d3 | [log] [tgz] |
---|---|---|
author | David Li <dvdli@google.com> | Mon Jul 19 12:48:06 2021 +0800 |
committer | David Li <dvdli@google.com> | Mon Jul 19 16:26:42 2021 +0800 |
tree | c4612299567b761d2df2979ba2c04301998e5fdf | |
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