Skip to content
This repository has been archived by the owner on Jan 5, 2025. It is now read-only.

Commit

Permalink
Update ForegroundService.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Live-Block authored Aug 11, 2024
1 parent 1d31384 commit 58bd920
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class ForegroundService : Service(), SharedPreferences.OnSharedPreferenceChangeL
val notification = builder.build()
notification.flags = Notification.FLAG_ONGOING_EVENT or Notification.FLAG_NO_CLEAR

startForeground(3, notification, ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK)
startForeground(3, notification, ServiceInfo.FOREGROUND_SERVICE_TYPE_DATA_SYNC)

return START_STICKY
}
Expand Down

0 comments on commit 58bd920

Please sign in to comment.