Commit d0759454 by ojw28 Committed by GitHub

Merge pull request #3977 from Khang-NT/dev-v2

Remove duplicate code MediaSessionConnector.java
parents 2084ba7b 41d8aa8e
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment