Skip to content

Conversation

chenxiaolong
Copy link
Contributor

@chenxiaolong chenxiaolong commented Jul 24, 2025

This fixes the device playing the notification source or vibrating every time the notification is updated (for progress bar changes). I didn't catch this when implementing #268 because I had a Pixel Watch connected, which always forces the setOnlyAlertOnce(true) behavior.

Additionally, this changes the default importance of the background services notifications to low (referred to as "Silent" in Android's UI). Even with the original bug fixed, it doesn't make much sense to play a sound or vibrate one time when an operation starts. This change in defaults only takes effect for new installs. It is not possible to change existing notification channel settings.

Fixes: #276

This fixes the device playing the notification source or vibrating every
time the notification is updated (for progress bar changes). I didn't
catch this when implementing tmo1#268 because I had a Pixel Watch connected,
which always forces the `setOnlyAlertOnce(true)` behavior.

Additionally, this changes the default importance of the background
services notifications to low (referred to as "Silent" in Android's UI).
Even with the original bug fixed, it doesn't make much sense to play a
sound or vibrate one time when an operation starts. This change in
defaults only takes effect for new installs. It is not possible to
change existing notification channel settings.

Fixes: tmo1#276

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
@chenxiaolong chenxiaolong force-pushed the vibrations-and-dings branch from 562bd45 to 211a763 Compare July 24, 2025 22:34
@tmo1 tmo1 merged commit 9bd8818 into tmo1:master Jul 27, 2025
5 checks passed
@chenxiaolong chenxiaolong deleted the vibrations-and-dings branch July 27, 2025 03:26
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.

Phone vibrate during exporting
2 participants