mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Remove duplicate code MediaSessionConnector.java
Fix updateMediaSessionMetadata() called twice;
This commit is contained in:
parent
4fa383c026
commit
41d8aa8e54
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