commit | aba14a2412b07e3d3255d9076410f22da95a367f | [log] [tgz] |
---|---|---|
author | Weilin Xu <xuweilin@google.com> | Wed Dec 13 13:11:22 2023 -0800 |
committer | Weilin Xu <xuweilin@google.com> | Wed Dec 13 13:11:22 2023 -0800 |
tree | 6902e0a22f80879d532542e901b301a7e7aa879f | |
parent | c145f844872af86d047ebb812061c3805742b057 [diff] |
Fix HD tune test in bcradio VTS Bug: 315206962 Test: atest VtsHalBroadcastradioAidlTargetTest Change-Id: Icfdc9af0a18896d6b60900015c9e2063774dff7d
diff --git a/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp b/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp index 79d3e60..2668a97 100644 --- a/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp +++ b/broadcastradio/aidl/vts/src/VtsHalBroadcastradioAidlTargetTest.cpp
@@ -750,7 +750,7 @@ ProgramInfo infoCb = mCallback->getCurrentProgramInfo(); LOG(DEBUG) << "Current program info: " << infoCb.toString(); // it should tune exactly to what was requested - EXPECT_EQ(infoCb.selector, hdSel); + EXPECT_EQ(infoCb.selector.primaryId, hdSel.primaryId); EXPECT_EQ(infoCb.physicallyTunedTo, physicallyTunedToExpected); }