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
85702480
authored
Mar 01, 2021
by
olly
Committed by
marcbaechinger
Apr 09, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix scrubber not reappearing correctly in some cases
Issue: #8646 PiperOrigin-RevId: 360184586
parent
46e156af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
1 deletions
RELEASENOTES.md
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerControlViewLayoutManager.java
RELEASENOTES.md
View file @
85702480
# Release notes
# Release notes
### dev-v2 (not yet released)
*
UI:
*
Add builder for
`PlayerNotificationManager`
.
*
Add group setting to
`PlayerNotificationManager`
.
*
Fix
`StyledPlayerView`
scrubber not reappearing correctly in some cases
(
[
#8646
](
https://github.com/google/ExoPlayer/issues/8646
)
).
*
Audio:
*
Report unexpected discontinuities in
`AnalyticsListener.onAudioSinkError`
(
[
#6384
](
https://github.com/google/ExoPlayer/issues/6384
)
).
*
Allow forcing offload for gapless content even if gapless playback is
not supported.
*
Analytics:
*
Add
`onAudioCodecError`
and
`onVideoCodecError`
to
`AnalyticsListener`
.
*
Downloads and caching:
*
Fix
`CacheWriter`
to correctly handle
`DataSource.close`
failures, for
which it cannot be assumed that data was successfully written to the
cache.
*
Library restructuring:
*
`DebugTextViewHelper`
moved from
`ui`
package to
`util`
package.
*
Spherical UI components moved from
`video.spherical`
package to
`ui.spherical`
package, and made package private.
*
Core
*
Move
`getRendererCount`
and
`getRendererType`
methods from
`Player`
to
`ExoPlayer`
.
*
Remove deprecated symbols:
*
Remove
`Player.DefaultEventListener`
. Use
`Player.EventListener`
instead.
*
Remove
`DownloadNotificationUtil`
. Use
`DownloadNotificationHelper`
instead.
*
Remove
`extension-jobdispatcher`
module. Use the
`extension-workmanager`
module instead.
*
DRM:
*
Only dispatch DRM session acquire and release events once per period
when playing content that uses the same encryption keys for both audio &
video tracks (previously separate acquire and release events were
dispatched for each track in each period).
*
Include the session state in DRM session-acquired listener methods.
*
MediaSession extension: Remove dependency to core module and rely on common
only. The
`TimelineQueueEditor`
uses a new
`MediaDescriptionConverter`
for
this purpose and does not rely on the
`ConcatenatingMediaSource`
anymore.
### 2.13.2 (2021-02-25)
### 2.13.2 (2021-02-25)
*
Extractors:
*
Extractors:
...
...
library/ui/src/main/java/com/google/android/exoplayer2/ui/StyledPlayerControlViewLayoutManager.java
View file @
85702480
...
@@ -607,7 +607,7 @@ import java.util.List;
...
@@ -607,7 +607,7 @@ import java.util.List;
defaultTimeBar
.
hideScrubber
(
/* disableScrubberPadding= */
true
);
defaultTimeBar
.
hideScrubber
(
/* disableScrubberPadding= */
true
);
}
else
if
(
uxState
==
UX_STATE_ONLY_PROGRESS_VISIBLE
)
{
}
else
if
(
uxState
==
UX_STATE_ONLY_PROGRESS_VISIBLE
)
{
defaultTimeBar
.
hideScrubber
(
/* disableScrubberPadding= */
false
);
defaultTimeBar
.
hideScrubber
(
/* disableScrubberPadding= */
false
);
}
else
if
(
uxState
!=
UX_STATE_ANIMATING_HIDE
&&
uxState
!=
UX_STATE_ANIMATING_SHOW
)
{
}
else
if
(
uxState
!=
UX_STATE_ANIMATING_HIDE
)
{
defaultTimeBar
.
showScrubber
();
defaultTimeBar
.
showScrubber
();
}
}
}
}
...
...
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