mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
explicitly turn off vibration when disabled. fixes #1255
This commit is contained in:
parent
caa16a8517
commit
4f0e1b71c0
@ -230,6 +230,8 @@ public class NotificationService {
|
||||
final int dat = 70;
|
||||
final long[] pattern = {0, 3 * dat, dat, dat};
|
||||
mBuilder.setVibrate(pattern);
|
||||
} else {
|
||||
mBuilder.setVibrate(new long[]{0});
|
||||
}
|
||||
if (ringtone != null) {
|
||||
mBuilder.setSound(Uri.parse(ringtone));
|
||||
|
Loading…
Reference in New Issue
Block a user