Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d0759454
authored
Apr 11, 2018
by
ojw28
Committed by
GitHub
Apr 11, 2018
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge pull request #3977 from Khang-NT/dev-v2
Remove duplicate code MediaSessionConnector.java
parents
2084ba7b
41d8aa8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/MediaSessionConnector.java
extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/MediaSessionConnector.java
View file @
d0759454
...
@@ -674,12 +674,8 @@ public final class MediaSessionConnector {
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment