I am creating a "do not disturb" app. So the normal thing to do is to set the phone on silent, when activated and then when a call gets through that suppose to ring, I simply change the ringer state to "normal"
.
The problem is that the "note 2" is indeed raising the volume but you cant hear the ringtone and in the "htc one s", when the ringer state is changed the ringtone is sounded
.
How can it be? I tried to use
audio_mngr.setStreamVolume(AudioManager.STREAM_RING, 0, 0);
and played with it but no matter what I try its still the same.
Does anyone have another idea about how to do It in another way? Thanks!