diff --git a/app/src/main/java/com/example/thetimemachine/Application/TheTimeMachineApp.java b/app/src/main/java/com/example/thetimemachine/Application/TheTimeMachineApp.java index 9fa6c5b..a06a0e8 100644 --- a/app/src/main/java/com/example/thetimemachine/Application/TheTimeMachineApp.java +++ b/app/src/main/java/com/example/thetimemachine/Application/TheTimeMachineApp.java @@ -25,7 +25,9 @@ private void createNotificationChannel() { NotificationManager.IMPORTANCE_HIGH ); + serviceChannel.setSound(null, null); NotificationManager manager = getSystemService(NotificationManager.class); manager.createNotificationChannel(serviceChannel); + } } diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 4afe41f..1cccd4b 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -124,7 +124,7 @@ + android:title="Inactive alarms at the bottom"/>