Merge "Audio VTS: Always check for Result::isOk()" into pie-vts-dev

am: 2070f8b0b8

Change-Id: Ibf74dbc43a0e91121752bc1fd2e48ee534cb7f4e
This commit is contained in:
Kevin Rocard 2018-09-18 11:01:56 -07:00 committed by android-build-merger
commit 3af66411da

View file

@ -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;