Skip to content

Conversation

@asyba
Copy link
Contributor

@asyba asyba commented Jan 3, 2026

Implement the temporary mute functionality for notifications.
This allows to support the new mute options (1 hour, Today) that pebble has.

For the moment is just for sync the status between databases.

PebbleOS PR: coredevices/PebbleOS#651

@asyba
Copy link
Contributor Author

asyba commented Jan 9, 2026

There is a minor problem related to the database, not sure yet how to handle.
The app may fail and required a reinstall because the migration database for the new columns fails for somereason.

@gmarull gmarull requested a review from sjp4 February 12, 2026 11:22
@gmarull
Copy link
Member

gmarull commented Feb 12, 2026

ping @sjp4

@@ -2,7 +2,7 @@
"formatVersion": 1,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

27.json shouldn't be changed in this PR - that's why you were seeing migration problems (you probably did a build which changed the schema before changing the database version to 28). You'll need to rebase on the latest main (db version is now 33), and revert these changes to the schema json, then update the version to 34, compile, and checking those json changes

}
val anyContactMuted = notification.people.any { it.muteState == MuteState.Always }
val anyContactStarred = notification.people.any { it.muteState == MuteState.Exempt }
// Check if mute has expired
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code path is never hit, right? (because there's no way to configure the temperary mute on android)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants