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

Commit 5f751e7d authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Automerger Merge Worker
Browse files

Reset data queue pointer in negative config cases am: e01b0f7c am: 7140d670 am: 37cc2c75

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1503732

Change-Id: I31b5d4347f1c3327f84aed5e2ed37ce70848530a
parents aebd7132 37cc2c75
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1043,6 +1043,7 @@ TEST_P(BluetoothAudioProviderLeAudioOutputSoftwareHidlTest,
    } else {
      EXPECT_EQ(status, BluetoothAudioStatus::UNSUPPORTED_CODEC_CONFIGURATION);
      EXPECT_FALSE(dataMQ.isHandleValid());
      tempDataMQ.reset(nullptr);
    }
  };
  android::hardware::bluetooth::audio::V2_1::AudioConfiguration audio_config =
@@ -1132,6 +1133,7 @@ TEST_P(BluetoothAudioProviderLeAudioInputSoftwareHidlTest,
    } else {
      EXPECT_EQ(status, BluetoothAudioStatus::UNSUPPORTED_CODEC_CONFIGURATION);
      EXPECT_FALSE(dataMQ.isHandleValid());
      tempDataMQ.reset(nullptr);
    }
  };
  android::hardware::bluetooth::audio::V2_1::AudioConfiguration audio_config =