disable sounds from notifications

This commit is contained in:
Philipp Crocoll
2018-03-27 21:37:45 +02:00
parent 62bbfc6075
commit 82770e6dd0

View File

@@ -891,6 +891,7 @@ namespace keepass2android
mChannel.Description = desc; mChannel.Description = desc;
mChannel.EnableLights(false); mChannel.EnableLights(false);
mChannel.EnableVibration(false); mChannel.EnableVibration(false);
mChannel.SetSound(null, null);
mNotificationManager.CreateNotificationChannel(mChannel); mNotificationManager.CreateNotificationChannel(mChannel);
} }
@@ -902,7 +903,8 @@ namespace keepass2android
mChannel.Description = desc; mChannel.Description = desc;
mChannel.EnableLights(false); mChannel.EnableLights(false);
mChannel.EnableVibration(false); mChannel.EnableVibration(false);
mNotificationManager.CreateNotificationChannel(mChannel); mChannel.SetSound(null, null);
mNotificationManager.CreateNotificationChannel(mChannel);
} }
{ {
@@ -913,7 +915,8 @@ namespace keepass2android
mChannel.Description = desc; mChannel.Description = desc;
mChannel.EnableLights(false); mChannel.EnableLights(false);
mChannel.EnableVibration(false); mChannel.EnableVibration(false);
mNotificationManager.CreateNotificationChannel(mChannel); mChannel.SetSound(null, null);
mNotificationManager.CreateNotificationChannel(mChannel);
} }
} }