[Fixed] Call initialized by a bluetooth headset can't be cancelled from call UI
When a bluetooth headset is connected and used to redial the last dialed number the phone application doesn't end the call, it only closes the phone application UI. The open call can still be seen on the lock screen, but it can only be ended from the headset after this.
Steps to reproduce:
- Call someone and end phone call
- Connect bluetooth headset (bug noticed with a Nokia BH-310 headset)
- Open phone and go to home screen to see the phone application UI when the call is opened
- Double tap the headset's button to initialize redial of the last called number
- Before call connects, quickly cancel the call from phone application
Expected behavior:
- The call ends (before connecting) and the phone application is closed
Current behavior:
- Phone application closes and according to the home screen no phone calls are active but phone call is still actually active and even shown on the lock screen. The call can't be terminated from the phone UI but only by clicking the headset's button.