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

Commit b572320

Browse files
Justkanttanguyantoine
authored andcommitted
fix(android): error can't find symbol Notification
1 parent 4b58c55 commit b572320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/tanguyantoine/react/MusicControlModule.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public void init() {
170170
createChannel(context);
171171
}
172172
nb = new NotificationCompat.Builder(context, CHANNEL_ID);
173-
nb.setVisibility(Notification.VISIBILITY_PUBLIC);
173+
nb.setVisibility(NotificationCompat.VISIBILITY_PUBLIC);
174174

175175
updateNotificationMediaStyle();
176176

0 commit comments

Comments
 (0)