Skip to content

Commit

Permalink
set notification important to minimum
Browse files Browse the repository at this point in the history
- keep the ongoing notification low profile
  • Loading branch information
n8fr8 committed Dec 27, 2017
1 parent e33f2f8 commit 2053600
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public void onCreate() {
NotificationManager.IMPORTANCE_HIGH);
mChannel.setDescription(channelDescription);
mChannel.setLightColor(Color.RED);
mChannel.setImportance(NotificationManager.IMPORTANCE_MIN);
manager.createNotificationChannel(mChannel);
}

Expand Down

1 comment on commit 2053600

@fat-tire
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thought: Maybe change line 134 to IMPORTANCE_MIN?

Please sign in to comment.