Update android/app/src/main/java/tf/monochrome/music/AudioPlaybackService.java

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
tryptz 2026-04-04 22:23:09 -04:00 committed by edideaur
parent 388a2b81a6
commit 744984d494

View file

@ -66,6 +66,9 @@ public class AudioPlaybackService extends Service {
} }
private void createNotificationChannel() { private void createNotificationChannel() {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
return;
}
NotificationChannel channel = new NotificationChannel( NotificationChannel channel = new NotificationChannel(
CHANNEL_ID, CHANNEL_ID,
"Audio Playback", "Audio Playback",