-
Notifications
You must be signed in to change notification settings - Fork 26
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
fix: Push notification on top of calling UI shown (WPB-11632) #3592
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3592 +/- ##
===========================================
- Coverage 45.33% 45.32% -0.02%
===========================================
Files 472 471 -1
Lines 15794 15781 -13
Branches 2632 2632
===========================================
- Hits 7160 7152 -8
+ Misses 7884 7880 -4
+ Partials 750 749 -1
Continue to review full report in Codecov by Sentry.
|
Built wire-android-staging-compat-pr-3592.apk is available for download |
Built wire-android-dev-debug-pr-3592.apk is available for download |
Quality Gate passedIssues Measures |
.setCategory(NotificationCompat.CATEGORY_CALL) | ||
.setSmallIcon(R.drawable.notification_icon_small) | ||
.setContentTitle(data.conversationName) | ||
.setContentText(context.getString(R.string.notification_outgoing_call_tap_to_return)) | ||
.setAutoCancel(false) | ||
.setOngoing(true) | ||
.setSilent(true) | ||
.setStyle( | ||
CallStyle.forOngoingCall( |
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.
If we remove reloadIfNeeded
completely then can we also make outgoing and ongoing call notifications to be of the CallStyle
so that they cannot be dismissed as well?
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
When user receives a call, open the incoming call screen, the headsup notification stays visible
Causes (Optional)
We are not dismissing it.
Solutions
Dismissing the notification when the user the app can cause an other problem: there is no way to repopen incoming screen again, if the user finished the app
S, I changed the behavior a bit:
Screen_recording_20241106_100215.webm
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
Briefly describe how this change was tested and if applicable the exact steps taken to verify that it works as expected.
Notes (Optional)
Specify here any other facts that you think are important for this issue.
Attachments (Optional)
Attachments like images, videos, etc. (drag and drop in the text box)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.