mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 02:48:10 +00:00
Prevent surplus notification sound when entering group.
This commit is contained in:
@@ -56,6 +56,7 @@ import org.thoughtcrime.securesms.service.webrtc.WebRtcData;
|
|||||||
import org.thoughtcrime.securesms.service.webrtc.WebRtcInteractor;
|
import org.thoughtcrime.securesms.service.webrtc.WebRtcInteractor;
|
||||||
import org.thoughtcrime.securesms.service.webrtc.WebRtcUtil;
|
import org.thoughtcrime.securesms.service.webrtc.WebRtcUtil;
|
||||||
import org.thoughtcrime.securesms.service.webrtc.state.WebRtcServiceState;
|
import org.thoughtcrime.securesms.service.webrtc.state.WebRtcServiceState;
|
||||||
|
import org.thoughtcrime.securesms.util.BubbleUtil;
|
||||||
import org.thoughtcrime.securesms.util.FutureTaskListener;
|
import org.thoughtcrime.securesms.util.FutureTaskListener;
|
||||||
import org.thoughtcrime.securesms.util.ListenableFutureTask;
|
import org.thoughtcrime.securesms.util.ListenableFutureTask;
|
||||||
import org.thoughtcrime.securesms.util.TelephonyUtil;
|
import org.thoughtcrime.securesms.util.TelephonyUtil;
|
||||||
@@ -750,7 +751,7 @@ public class WebRtcCallService extends Service implements CallManager.Observer,
|
|||||||
peekInfo.getJoinedMembers(),
|
peekInfo.getJoinedMembers(),
|
||||||
WebRtcUtil.isCallFull(peekInfo));
|
WebRtcUtil.isCallFull(peekInfo));
|
||||||
|
|
||||||
ApplicationDependencies.getMessageNotifier().updateNotification(this, threadId, true);
|
ApplicationDependencies.getMessageNotifier().updateNotification(this, threadId, true, 0, BubbleUtil.BubbleState.HIDDEN);
|
||||||
|
|
||||||
EventBus.getDefault().postSticky(new GroupCallPeekEvent(id, peekInfo.getEraId(), peekInfo.getDeviceCount(), peekInfo.getMaxDevices()));
|
EventBus.getDefault().postSticky(new GroupCallPeekEvent(id, peekInfo.getEraId(), peekInfo.getDeviceCount(), peekInfo.getMaxDevices()));
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user