mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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
|
// active queue item and queue navigation actions may need to be updated
|
||||||
updateMediaSessionPlaybackState();
|
updateMediaSessionPlaybackState();
|
||||||
}
|
}
|
||||||
if (currentWindowCount != windowCount) {
|
|
||||||
// active queue item and queue navigation actions may need to be updated
|
|
||||||
updateMediaSessionPlaybackState();
|
|
||||||
}
|
|
||||||
currentWindowCount = windowCount;
|
currentWindowCount = windowCount;
|
||||||
currentWindowIndex = player.getCurrentWindowIndex();
|
currentWindowIndex = windowIndex;
|
||||||
updateMediaSessionMetadata();
|
updateMediaSessionMetadata();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue