mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 11:58:09 +00:00
Force speaker for ringtone
This commit is contained in:
parent
8474e8e78c
commit
cd71d7d560
1 changed files with 1 additions and 0 deletions
|
|
@ -1003,6 +1003,7 @@ public class LinphoneManager implements LinphoneCoreListener {
|
|||
mAudioManager.setMode(MODE_RINGTONE);
|
||||
}
|
||||
|
||||
routeAudioToSpeaker();
|
||||
try {
|
||||
if ((mAudioManager.getRingerMode() == AudioManager.RINGER_MODE_VIBRATE || mAudioManager.getRingerMode() == AudioManager.RINGER_MODE_NORMAL) && mVibrator != null) {
|
||||
long[] patern = {0,1000,1000};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue