diff --git a/app/src/main/java/com/github/gotify/NotificationSupport.java b/app/src/main/java/com/github/gotify/NotificationSupport.java index 6d0e2a1..fdd34df 100644 --- a/app/src/main/java/com/github/gotify/NotificationSupport.java +++ b/app/src/main/java/com/github/gotify/NotificationSupport.java @@ -56,6 +56,7 @@ public class NotificationSupport { NotificationManager.IMPORTANCE_DEFAULT); messagesImportanceDefault.enableLights(true); messagesImportanceDefault.setLightColor(Color.CYAN); + messagesImportanceDefault.enableVibration(true); NotificationChannel messagesImportanceHigh = new NotificationChannel( @@ -64,6 +65,7 @@ public class NotificationSupport { NotificationManager.IMPORTANCE_HIGH); messagesImportanceHigh.enableLights(true); messagesImportanceHigh.setLightColor(Color.CYAN); + messagesImportanceHigh.enableVibration(true); notificationManager.createNotificationChannel(foreground); notificationManager.createNotificationChannel(messagesImportanceMin);