Can we avoid stopForeground to stop Service
问题 I have a Service which I use ExoPlayer to play music in it. I am displaying a notification for my app as it is a Foreground Service and I keep updating Notification in onPlayerStateChanged callback method of ExoPlayer : @Override public void onPlayerStateChanged(boolean playWhenReady, int playbackState) { ... showNotification(state, sample); } private void showNotification(PlaybackStateCompat state, Sample sample) { NotificationCompat.Builder builder = new NotificationCompat.Builder(this, "Id