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

Skip to content
Commit 3aecac67 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix issue with sending BluetoothCallQualityReport to Telecom.

The negative ack count would always be zero due to the fact that both
packetsNotReceivedCount and negativeAcknowledgementCount were assigned to
the packetsNotReceivedCount property of the builder.

Modified isNullCall to call BluetoothCall#isCallNull so that the result
can be mocked out to facilitate the unit test (otherwise we'd need to be
able to return a mock android.telecom.Call which is not possible due to
the fact it is a final class).

Tag: #stability
Test: atest BluetoothInCallServiceTest
Bug: 200389658
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1831254
Merged-In: Ibd6dc8d61f3f52abed7afbeac3f027a0630ea40a
Change-Id: Ibd6dc8d61f3f52abed7afbeac3f027a0630ea40a
(cherry picked from commit 4ab9aeeea5b79194c78c944c631f8a21c8105cbb)
parent e68a810b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment