Merge "Improve A2DP Bits handling" into main am: 105eddfc75
am: 94c2c067bb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2877314 Change-Id: I1f4c7b5ed0616b0ef6af29342f6679455f584e77 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c926bd973f
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ class A2dpBits {
|
|||
uint8_t* data_;
|
||||
|
||||
public:
|
||||
A2dpBits(const std::vector<uint8_t>& vector) : cdata_(vector.data()) {}
|
||||
A2dpBits(const std::vector<uint8_t>& vector)
|
||||
: cdata_(vector.data()), data_(nullptr) {}
|
||||
|
||||
A2dpBits(std::vector<uint8_t>& vector)
|
||||
: cdata_(vector.data()), data_(vector.data()) {}
|
||||
|
|
Loading…
Reference in a new issue