Skip to content

Commit

Permalink
fix(android): Use NotificationCompat constant for setting visibility (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Mar 17, 2020
1 parent 0b4ade8 commit 62b11fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void buildNotification(NotificationManagerCompat notificationManager, Lo
.setShowWhen(true);
}

mBuilder.setVisibility(Notification.VISIBILITY_PRIVATE);
mBuilder.setVisibility(NotificationCompat.VISIBILITY_PRIVATE);
mBuilder.setOnlyAlertOnce(true);

mBuilder.setSmallIcon(localNotification.getSmallIcon(context));
Expand Down

0 comments on commit 62b11fd

Please sign in to comment.