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

am: 3af66411da

Change-Id: I08841ccfa99aedec0de6aa1752f39cb5530b26c7
This commit is contained in:
Kevin Rocard
2018-09-18 11:06:53 -07:00
committed by android-build-merger

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;