Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Stop notification sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-pratt committed Jun 17, 2018
1 parent 06a808f commit 71f63c5
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -125,7 +125,7 @@ private Notification createNotification() {
private void createNotificationChannel() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
CharSequence name = getString(R.string.app_name);
int importance = NotificationManager.IMPORTANCE_DEFAULT;
int importance = NotificationManager.IMPORTANCE_LOW;
NotificationChannel channel = new NotificationChannel(getString(R.string.notification_channel_id), name, importance);
notificationManager.createNotificationChannel(channel);
}
Expand Down

0 comments on commit 71f63c5

Please sign in to comment.