Merge "Audio VTS: Always check for Result::isOk()" into pie-vts-dev
am: 2070f8b0b8
Change-Id: Ibf74dbc43a0e91121752bc1fd2e48ee534cb7f4e
This commit is contained in:
commit
3af66411da
1 changed files with 1 additions and 0 deletions
|
@ -1402,6 +1402,7 @@ TEST_F(AudioPrimaryHidlTest, setBtHfpVolume) {
|
|||
"Make sure setBtHfpVolume is either not supported or "
|
||||
"only succeed if volume is in [0,1]");
|
||||
auto ret = device->setBtHfpVolume(0.0);
|
||||
ASSERT_TRUE(ret.isOk());
|
||||
if (ret == Result::NOT_SUPPORTED) {
|
||||
doc::partialTest("setBtHfpVolume is not supported");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue