diff options
author | Kevin Rocard | 2018-06-28 22:03:20 -0500 |
---|---|---|
committer | android-build-merger | 2018-06-28 22:03:20 -0500 |
commit | 1fd78abb44442d04bd554763ea1cb0ed26a58a0d (patch) | |
tree | 05e4aa2c7fe64ff04ba7abef17a555656629e335 /audio | |
parent | 8714335f4abdb98cb3941f5187bbc92e2e594201 (diff) | |
parent | 72641e7ad014a011562c3fd16444b919d32aeb63 (diff) | |
download | platform-hardware-interfaces-1fd78abb44442d04bd554763ea1cb0ed26a58a0d.tar.gz platform-hardware-interfaces-1fd78abb44442d04bd554763ea1cb0ed26a58a0d.tar.xz platform-hardware-interfaces-1fd78abb44442d04bd554763ea1cb0ed26a58a0d.zip |
Audio VTS was testing wrong uninitialized variable due to typo
am: 72641e7ad0
Change-Id: I590efc99f853e1db7fa0747f9c91946913bb3679
Diffstat (limited to 'audio')
-rw-r--r-- | audio/core/4.0/vts/functional/AudioPrimaryHidlHalTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/core/4.0/vts/functional/AudioPrimaryHidlHalTest.cpp b/audio/core/4.0/vts/functional/AudioPrimaryHidlHalTest.cpp index c3cb022b..9c9b7499 100644 --- a/audio/core/4.0/vts/functional/AudioPrimaryHidlHalTest.cpp +++ b/audio/core/4.0/vts/functional/AudioPrimaryHidlHalTest.cpp | |||
@@ -558,11 +558,11 @@ TEST_F(AudioPrimaryHidlTest, SetConnectedState) { | |||
558 | address.device = deviceType; | 558 | address.device = deviceType; |
559 | auto ret = device->setConnectedState(address, state); | 559 | auto ret = device->setConnectedState(address, state); |
560 | ASSERT_TRUE(ret.isOk()); | 560 | ASSERT_TRUE(ret.isOk()); |
561 | if (res == Result::NOT_SUPPORTED) { | 561 | if (ret == Result::NOT_SUPPORTED) { |
562 | doc::partialTest("setConnectedState is not supported"); | 562 | doc::partialTest("setConnectedState is not supported"); |
563 | return; | 563 | return; |
564 | } | 564 | } |
565 | ASSERT_OK(res); | 565 | ASSERT_OK(ret); |
566 | } | 566 | } |
567 | } | 567 | } |
568 | } | 568 | } |