mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
parent
524d06d033
commit
0067d2628d
@ -293,8 +293,9 @@ public class RedPhoneService extends Service implements CallStateListener, CallS
|
|||||||
AudioManager audioManager = ServiceUtil.getAudioManager(this);
|
AudioManager audioManager = ServiceUtil.getAudioManager(this);
|
||||||
AudioUtils.resetConfiguration(this);
|
AudioUtils.resetConfiguration(this);
|
||||||
|
|
||||||
Log.d(TAG, "request STREAM_VOICE_CALL audio focus");
|
Log.d(TAG, "request STREAM_VOICE_CALL transient audio focus");
|
||||||
audioManager.requestAudioFocus(null, AudioManager.STREAM_VOICE_CALL, AudioManager.AUDIOFOCUS_GAIN);
|
audioManager.requestAudioFocus(null, AudioManager.STREAM_VOICE_CALL,
|
||||||
|
AudioManager.AUDIOFOCUS_GAIN_TRANSIENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void shutdownAudio() {
|
private void shutdownAudio() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user