kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix missed call notification when busy on another device.
rodzic
52965da8a5
commit
c1f3e27101
|
@ -159,7 +159,7 @@ public final class InternalValues extends SignalStoreValues {
|
||||||
*/
|
*/
|
||||||
public synchronized boolean callingDisableTelecom() {
|
public synchronized boolean callingDisableTelecom() {
|
||||||
if (FeatureFlags.internalUser()) {
|
if (FeatureFlags.internalUser()) {
|
||||||
return getBoolean(CALLING_DISABLE_TELECOM, false);
|
return getBoolean(CALLING_DISABLE_TELECOM, true);
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -165,7 +165,7 @@ public class ActiveCallActionProcessorDelegate extends WebRtcActionProcessor {
|
||||||
state = Objects.requireNonNull(ENDED_REMOTE_EVENT_TO_STATE.get(endedRemoteEvent));
|
state = Objects.requireNonNull(ENDED_REMOTE_EVENT_TO_STATE.get(endedRemoteEvent));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endedRemoteEvent == CallEvent.ENDED_REMOTE_HANGUP) {
|
if (endedRemoteEvent == CallEvent.ENDED_REMOTE_HANGUP || endedRemoteEvent == CallEvent.ENDED_REMOTE_HANGUP_BUSY) {
|
||||||
if (remotePeerIsActive) {
|
if (remotePeerIsActive) {
|
||||||
state = outgoingBeforeAccept ? WebRtcViewModel.State.RECIPIENT_UNAVAILABLE : WebRtcViewModel.State.CALL_DISCONNECTED;
|
state = outgoingBeforeAccept ? WebRtcViewModel.State.RECIPIENT_UNAVAILABLE : WebRtcViewModel.State.CALL_DISCONNECTED;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue