~singpolyma/cheogram-android

7466d125056307a6c2a767a0e4a95b77343aa1f2 — Daniel Gultsch 3 years ago 98ffadd
ring during device discovery
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/xmpp/jingle/ToneManager.java
M src/main/java/eu/siacs/conversations/xmpp/jingle/ToneManager.java => src/main/java/eu/siacs/conversations/xmpp/jingle/ToneManager.java +1 -1
@@ 37,7 37,7 @@ class ToneManager {

    private static ToneState of(final boolean isInitiator, final RtpEndUserState state, final Set<Media> media) {
        if (isInitiator) {
            if (asList(RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) {
            if (asList(RtpEndUserState.FINDING_DEVICE, RtpEndUserState.RINGING, RtpEndUserState.CONNECTING).contains(state)) {
                return ToneState.RINGING;
            }
            if (state == RtpEndUserState.DECLINED_OR_BUSY) {