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

Skip to content
Commit 4c75c004 authored by Daniel Velazco's avatar Daniel Velazco
Browse files

Log the correct string to avoid a crash when HFP client fails to dial

When a HFP client fails to initiate a call, the error logged was trying
to cast message.obj to a String when it is a BluetoothHeadsetClientCall,
this was causing a ClassCastException. Replacing with c.toString(true)
outputs the correct loggable string.

Test: atest --host bluetooth_test_common
Tag: #stability

Bug: 157082875
Change-Id: I21ccdb9e09eaf12904056baee695ef155e876982
parent 2127ee8c
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