[EGD-7873] Fix call ended screen during BT connecting Some devices were sending hangup message during connecting, which caused call ended screen - now it's disabled unless a call has been picked up
2 files changed, 9 insertions(+), 1 deletions(-) M module-bluetooth/Bluetooth/interface/profiles/PhoneInterface.cpp M module-bluetooth/Bluetooth/interface/profiles/PhoneInterface.hpp
M module-bluetooth/Bluetooth/interface/profiles/PhoneInterface.cpp => module-bluetooth/Bluetooth/interface/profiles/PhoneInterface.cpp +6 -1
@@ 9,12 9,17 @@ namespace bluetooth { bool CellularInterfaceImpl::answerIncomingCall(sys::Service *service) { callActive = true; return CellularServiceAPI::AnswerIncomingCall(service); } bool CellularInterfaceImpl::hangupCall(sys::Service *service) { return CellularServiceAPI::HangupCall(service); if (callActive) { callActive = false; return CellularServiceAPI::HangupCall(service); } return true; } bool AudioInterfaceImpl::startAudioRouting(sys::Service *service)
M module-bluetooth/Bluetooth/interface/profiles/PhoneInterface.hpp => module-bluetooth/Bluetooth/interface/profiles/PhoneInterface.hpp +3 -0