-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/fga/fix voip issues #4029
Conversation
@@ -468,7 +468,6 @@ class NotificationUtils @Inject constructor(private val context: Context, | |||
setSmallIcon(R.drawable.ic_call_answer) | |||
} | |||
} | |||
// This is a trick to make the previous notification with same id disappear as cancel notification is not working with Foreground Service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So also remove the trick itself?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, it's not really a trick anymore, cancelNotification work, but only when stopForeground is called. But timeout param is working very strangely...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one question
I found a strange issue, I use Element develop on Android / Web and use this PR but I dunno where the issue is but If I dismiss a Call so my Element Client still ringing the Caller still rejected but not the React Client (Element Web) No IssueWeb Client <-> Web Client are ok....IssueAndroid (do a reject) <- Web Client (still ringing) <-> Caller Web Client (dismiss) |
Thanks for commenting, I can't reproduce this behavior, not sure where it comes from, but shouldn't be from this PR. |
This PR fixes multiple issues on Voip :
#4028
#4026
#4019