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:
parent
388a2b81a6
commit
744984d494
1 changed files with 3 additions and 0 deletions
|
|
@ -66,6 +66,9 @@ public class AudioPlaybackService extends Service {
|
|||
}
|
||||
|
||||
private void createNotificationChannel() {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
|
||||
return;
|
||||
}
|
||||
NotificationChannel channel = new NotificationChannel(
|
||||
CHANNEL_ID,
|
||||
"Audio Playback",
|
||||
|
|
|
|||
Loading…
Reference in a new issue