-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Bugfix/1724followup/improve notification sound handling #2566
Merged
timkrueger
merged 4 commits into
master
from
bugfix/1724followup/improveNotificationSoundHandling
Dec 7, 2022
Merged
Bugfix/1724followup/improve notification sound handling #2566
timkrueger
merged 4 commits into
master
from
bugfix/1724followup/improveNotificationSoundHandling
Dec 7, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timkrueger
approved these changes
Nov 16, 2022
/rebase |
nextcloud-command
force-pushed
the
bugfix/1724followup/improveNotificationSoundHandling
branch
from
December 1, 2022 14:35
4e7c0b3
to
4c4b440
Compare
this commit removes the logic to play the ringtone in CallNotificationActivity. Playing ringtone should only be controlled by the notification channel from OS! furthermore the checks if a call is stopped or is still ongoing etc was removed from CallNotificationActivity. Instead the CallNotificationActivity now is completely dependent on the notification. If the notification is canceled, the Activity stops. If the Notification is ongoing and hangup of accept call is clicked, then the notification is canceled (including the ringtone). Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
for example when call is hangup on mobile and immediately after on web, the loop in "checkIfCallIsActive" is still active and might trigger to send the "missed call" notification. Because of this, there is now another check if the "ongoing call" notification is still visible. It makes only sense to show the missed call notification, when the ongoing call notification is still visible. Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
timkrueger
force-pushed
the
bugfix/1724followup/improveNotificationSoundHandling
branch
from
December 7, 2022 13:41
4c4b440
to
269844f
Compare
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/2566-talk.apk |
delete-merged-branch
bot
deleted the
bugfix/1724followup/improveNotificationSoundHandling
branch
December 7, 2022 13:52
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
followup of #2415
blocked by #2449
--> will resolve "Call requires API level 23 (current min is 21): android.app.NotificationManager#getActiveNotifications" error