Add default option to message vibrate for pre API26.

This commit is contained in:
Alan Evans
2020-06-19 13:08:54 -03:00
committed by GitHub
parent 71f54701d2
commit 841ee18435
6 changed files with 138 additions and 89 deletions

View File

@@ -509,8 +509,8 @@ public class NotificationChannels {
copy.setGroup(original.getGroup());
copy.setSound(original.getSound(), original.getAudioAttributes());
copy.setBypassDnd(original.canBypassDnd());
copy.enableVibration(original.shouldVibrate());
copy.setVibrationPattern(original.getVibrationPattern());
copy.enableVibration(original.shouldVibrate());
copy.setLockscreenVisibility(original.getLockscreenVisibility());
copy.setShowBadge(original.canShowBadge());
copy.setLightColor(original.getLightColor());