Repository navigation
Conversation
On some OEMs (e.g. Samsung) the system notification channel settings only offer notification sounds for the calls channel, even though it uses USAGE_NOTIFICATION_RINGTONE, so no call ringtone could be selected. Open an in-app ringtone picker with TYPE_RINGTONE instead (as done by Signal). As the sound of an existing channel can't be changed by the app, the calls channel is recreated under a new versioned id (NOTIFICATION_CHANNEL_CALLS_V5__<timestamp>) keeping its other settings. The system channel settings are still opened if the channel is disabled or no ringtone picker is available. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
The app ships its own default sounds ("Librem by feandesign") for calls and
messages. These are app resources, not system sounds, so neither the system
channel settings nor the system ringtone picker offer them. Once a user
picked another call ringtone or message sound, there was no way back to the
bundled default.
Tapping the call or message sound now shows a dialog offering the bundled
default or "Other sound…", which opens the system picker. The picker's
"Default" entry now refers to the phone's default ringtone/notification
sound, so it means the same on all devices.
Message sounds are chosen in-app like call ringtones. As the sound of an
existing channel can't be changed by the app, the messages channel is
recreated under a versioned id (NOTIFICATION_CHANNEL_MESSAGES_V4__<timestamp>)
the same way as the calls channel, sharing the recreation logic.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Contributor
mahibi
marked this pull request as draft
November 12, 2026 17:51
Contributor
📱 QA build
The QA build installs alongside a released Nextcloud app, so you can keep Downloading the file requires a GitHub account, so open this link on the |
This file contains hidden or 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
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.
Fixes choosing sounds for calls and messages in Settings → Notifications.
Problem 1
USAGE_NOTIFICATION_RINGTONE, so no real call ringtone can be selected.Problem 2
Solution
TYPE_RINGTONEfor calls andTYPE_NOTIFICATIONfor messages. The picker's "Default" entry is the phone's default sound.NOTIFICATION_CHANNEL_CALLS_V5__<timestamp>,NOTIFICATION_CHANNEL_MESSAGES_V4__<timestamp>), keeping its other settings (importance, vibration, lights, badge, lock-screen visibility)._V5/_V4versioning is unchanged. Bumping it still drops all channels of the old version.🖼️ Screenshots
Screenshot to solve switching back to built in ringtone

🚧 TODO
🏁 Checklist
/backport to stable-xx.x🤖 AI (if applicable)