mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Method renamed
This commit is contained in:
parent
7b5bbd7d53
commit
82d9a8bb16
2 changed files with 2 additions and 2 deletions
|
|
@ -255,7 +255,7 @@ public class MediaManager {
|
|||
}
|
||||
}
|
||||
|
||||
public static void timestamp(MediaItem mediaItem) {
|
||||
public static void setLastPlayedTimestamp(MediaItem mediaItem) {
|
||||
if (mediaItem != null) getQueueRepository().setTimestamp(mediaItem.mediaId);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ public class MediaService extends MediaLibraryService {
|
|||
player.addListener(new Player.Listener() {
|
||||
@Override
|
||||
public void onMediaItemTransition(@Nullable MediaItem mediaItem, int reason) {
|
||||
MediaManager.timestamp(mediaItem);
|
||||
MediaManager.setLastPlayedTimestamp(mediaItem);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue