mirror of
https://github.com/oxen-io/session-android.git
synced 2025-05-01 06:30:48 +00:00
Always play "sonar" on call initialization
If "sonar" was the last sound played on the last call, it wasn't being played on the next calling attempt. Closes #4473
This commit is contained in:
parent
e1f9519235
commit
5333647794
@ -116,6 +116,7 @@ public class OutgoingRinger implements MediaPlayer.OnCompletionListener, MediaPl
|
|||||||
mediaPlayer.stop();
|
mediaPlayer.stop();
|
||||||
} catch( IllegalStateException e ) {
|
} catch( IllegalStateException e ) {
|
||||||
}
|
}
|
||||||
|
currentSoundID = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void stop( int soundID ) {
|
private void stop( int soundID ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user