Renaming functions

This commit is contained in:
CappielloAntonio
2022-01-02 17:45:11 +01:00
parent 40866a2855
commit 9fdc9ff44d
3 changed files with 7 additions and 8 deletions

View File

@@ -3,7 +3,6 @@ package com.cappielloantonio.play.service;
import android.annotation.SuppressLint;
import android.app.PendingIntent;
import android.content.Intent;
import android.util.Log;
import androidx.annotation.Nullable;
import androidx.media3.common.AudioAttributes;
@@ -102,7 +101,7 @@ public class MediaService extends MediaLibraryService {
@Override
public void onIsPlayingChanged(boolean isPlaying) {
if(isPlaying) {
MediaManager.setPlayingChangedTimestamp(player.getCurrentMediaItem(), player.getCurrentPosition());
MediaManager.setPlayingPausedTimestamp(player.getCurrentMediaItem(), player.getCurrentPosition());
}
}
});