mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Merge pull request #3977 from Khang-NT/dev-v2
Remove duplicate code MediaSessionConnector.java
This commit is contained in:
commit
d075945487
1 changed files with 1 additions and 5 deletions
|
|
@ -674,12 +674,8 @@ public final class MediaSessionConnector {
|
|||
// active queue item and queue navigation actions may need to be updated
|
||||
updateMediaSessionPlaybackState();
|
||||
}
|
||||
if (currentWindowCount != windowCount) {
|
||||
// active queue item and queue navigation actions may need to be updated
|
||||
updateMediaSessionPlaybackState();
|
||||
}
|
||||
currentWindowCount = windowCount;
|
||||
currentWindowIndex = player.getCurrentWindowIndex();
|
||||
currentWindowIndex = windowIndex;
|
||||
updateMediaSessionMetadata();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue