am 722b7bc2
: Do not vibrate in vibrate mode if ringtone is silent
* commit '722b7bc29d3f5be029d21f5587b7bc675051073b': Do not vibrate in vibrate mode if ringtone is silent
This commit is contained in:
commit
dec1415d7c
@ -766,7 +766,7 @@ public class NotificationController {
|
||||
defaults |= Notification.DEFAULT_VIBRATE;
|
||||
}
|
||||
|
||||
builder.setSound((ringtoneUri == null) ? null : Uri.parse(ringtoneUri))
|
||||
builder.setSound(TextUtils.isEmpty(ringtoneUri) ? null : Uri.parse(ringtoneUri))
|
||||
.setDefaults(defaults);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user