Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0aaf9419 authored by Chris Manton's avatar Chris Manton
Browse files

net_test_btif_rc: Fix BtifRcConnectionTest.btif_rc_check_pending_cmd

Remove overwritten promise/future

Bug: 314143302
Test: atest net_test_btif_rc

Change-Id: I0a7d7186e4758faf29af5453120912d474713f87
parent aef382e2
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -339,9 +339,6 @@ class BtifRcConnectionTest : public BtifRcTest {

TEST_F(BtifRcConnectionTest, btif_rc_check_pending_cmd) {
  AVRC_BldCmd_ = 0;
  g_btrc_connection_state_promise = std::promise<rc_connection_state_cb_t>();
  std::future<rc_connection_state_cb_t> future =
      g_btrc_connection_state_promise.get_future();

  btif_rc_cb.rc_multi_cb[0].rc_handle = 0xff;
  btif_rc_cb.rc_multi_cb[0].rc_addr = kDeviceAddress;