diff --git a/android/src/main/java/com/tanguyantoine/react/MusicControlModule.java b/android/src/main/java/com/tanguyantoine/react/MusicControlModule.java index 8b878a13..fff94266 100644 --- a/android/src/main/java/com/tanguyantoine/react/MusicControlModule.java +++ b/android/src/main/java/com/tanguyantoine/react/MusicControlModule.java @@ -170,7 +170,7 @@ public void init() { createChannel(context); } nb = new NotificationCompat.Builder(context, CHANNEL_ID); - nb.setVisibility(Notification.VISIBILITY_PUBLIC); + nb.setVisibility(NotificationCompat.VISIBILITY_PUBLIC); updateNotificationMediaStyle();