Attempts to:
1) Successfully play ringtone through speaker instead of earpiece
when possible.
2) Manage bluetooth headset connectivity as well as possible
3) Eliminate notification sounds while in-call when possible
4) Make sure audio is correctly setup when receiving calls
Fixes#6271Fixes#6248Fixes#6238Fixes#6184Fixes#6169
// FREEBIE
When video is enabled, speakerphone is now enabled unless
there's a wired headset. If speakerphone is enabled and
a wired headset gets plugged in, speakerphone is disabled.
If video is enabled and a wired headset is removed, speakerphone
is enabled.
Fixes#6153
// FREEBIE