Enable vibration for In-thread notifications
A friend of mine found a bug in MessageNotifier.java:
If the options "In-thread notifications" and "Vibrate" are activated the phone vibrates and rings just fine unless you are in the thread that has a new message. In that case only the ringtone is played, but the phone doesn't vibrate.
I noticed this, too. But I actually like this "feature" :D When the screen is on and I am in a thread I do not really want the phone to vibrate (it has got my attention already). Just the ringtone is fine.
If you don't want to be notified at all, you can disable the in-thread notifications completely in the settings. Unfortunately the current behaviour poses a problem for everybody in an environment where one has to have the phone muted, but wants to be notified. We should either automatically use both notification methods or make it configurable.
This is like, a feature. A bunch of people requested that the device not vibrate when the screen is on and a thread is open, so we made that the default behavior. We'd have to add a new preference if we wanted to change that, which of course I am loath to do.
I see. I'm not a fan of it, because it's not the expected behaviour judging from the settings description, but I can see where the idea came from.
I agree that we should not create a third notification setting which would further clutter the UI.
One possibility would be to use the Android settings:
- Not muted -> ring, no vibration
- Muted, vibration on -> don't ring, vibrate
- Muted, vibration off -> only visual indicators
Is that possible without new permissions? If so I'd like to see it implemented that way, otherwise I'd prefer to leave this ticket open and wait until the next update with permission changes comes up. Other ideas are also appreciated.
Is this really the same as https://github.com/WhisperSystems/TextSecure/issues/1965? I totally understand that there is no vibration if you're already in the thread that gets the message, but in my case, the phone was locked, the screen was off and there was no notification at all. No Sound and no Vibration.
Closed too quickly, you're right. Reopening and thanks for checking @TWfromSWD!
GitHub Issue Cleanup: See #7598 for more information.