No Ringtone over speakers when headphones are connected
The problem
If Headphones are left connected to the phone an incoming call can be missed as it plays the ringtone over the earphones while not plying on the phone speakers.
Environment
- Wire version that exhibits the issue: v3.0.366
- Last Wire version that did not exhibit the issue (if applicable): NA
- Android OS version used to run Wire: Android v7.1.1
- Is this a custom firmware or a stock one: Stock
- Mobile phone model/manufacturer: OnePlus 5
- Mobile network type (EDGE/LTE/Wi-Fi/Offline): Wi-Fi
Details
Keep the headphones connected to the phone. Call from another wire account to the phone the call comes but there is no indication of it over the Phone speakers as it should behave. The phone rings as a media over the earphones.
Sorry, but if you have earphones on, we assume you are using them and don't want anything to be played through the speaker. That is the reason you are using earphones in the first place isn't it?
Actually, scratch that. We just tested and it seems that Android itself plays ringtones for incoming calls both through earphones and speakers. We should probably do the same.
We are currently going through a refactor of the component that manages that behavior. We will look at this issue soon. Thanks for reporting!
Hmm yeah all the applications providing a call feature had this implementation, so thought it might be helpful if brought to notice.
Another aspect of this issue: When phone is on vibrate or silent and headphones are on, I should hear a ringtone over the headphones. That's how it worked on previous Samsung phone.
If I have something playing over headphones, I will notice the ring because the music stops. But if I'm not listening to music (example: using headphones for phone conversations in the car), then I have no idea the phone is ringing.
If I have headphones you can assume I'm willing to hear sounds as loud as my headphone volume is set.
I have same proble with custom roms for my Xiaomi Mi A1 (Cyanogen, Pixel expirience, Revenge,..)
I solved installing the app "Automate" by LlamaLab I created an automatic task to bypass the problem and now I can enjoy my phone ringing also when bluetooth headset are connected!!!
@FerrarisIV Good morning and happy new year! Could you please post or upload the setting of Automate? I am trying to do it with no success
Ciao @Crybal happy new year also to you :)
This is an image of my script Click
If you cannot understand by this simple image, I can share directly the script.... just ask me :)
In few words I created an event which fires when phone receives an incoming calls: I disconnect bluetooth, so the ringtone comes from phone and not from headset But a second event comes when I anwser, starting the conversation: it reconnects the bluetooth, so I can talk by headset
I am using wired headset and it seems it doesn't has an option to connect/disconect them...or at least i cannot find it.
@Crybal Try this https://drive.google.com/file/d/13E_7fUyd7Ptfszw3ZZCboxX0JvcA-DUg/view?usp=drivesdk
Please consider that my device has this problem only with bluetooth headset. So I just try to simulate the scenary and probably you should make some improvements to my script
Good luck ;)
Thanks.I tried it but no luck.I even added the speaker state and speaker on...no luck.I guess it is a Android Pie (lineage 16) thing and limitation. Thanks anyway
Update: after a lot of trials I found that Lesser audio switch can switch from headset to speaker when headset is on.More over they mention that "Advanced users can trigger a switch externally using the following intent actions: com.nordskog.LesserAudioSwitch.HEADPHONES com.nordskog.LesserAudioSwitch.SPEAKER So If I combine Automate with lesser in order to use these actions I believe there will be a solution.Is there a chance that you know what is the right way to do it? I tried it and didnt word.I am sure that I am doing something wrong.Thanks.
Dear @Crybal sorry but i can't help you because on my device (Xiaomi Mi A1) no have this problem and already works fine my first script... I hope someone else will do some other trials to help you
@Crybal Try this https://drive.google.com/file/d/13E_7fUyd7Ptfszw3ZZCboxX0JvcA-DUg/view?usp=drivesdk
Please consider that my device has this problem only with bluetooth headset. So I just try to simulate the scenary and probably you should make some improvements to my script
Good luck ;)
Hi. Would you share script again? The previous link has expired :(