Skip to content
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

Explicitly vibrate when vibration is enabled for a notification channel #171

Merged
merged 1 commit into from
Nov 24, 2022

Commits on Nov 24, 2022

  1. Explicitly vibrate when vibration is enabled for a notification channel

    Android's vibration setting seemingly has no effect when the user is in
    a phone call, which is always the case when a BCR notification is shown.
    With this commit, BCR will explicitly vibrate the device using a pattern
    that mimics what Android does by default for notifications.
    
    This commit is inspired by @quyenvsp's PR #167, except it relies on
    Android notification channels' builtin vibration setting instead of
    adding a new setting to BCR.
    
    Related PR: #167
    
    Signed-off-by: Andrew Gunnerson <[email protected]>
    chenxiaolong committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    4dd7ae6 View commit details
    Browse the repository at this point in the history