Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
e2aa54c7
Commit
e2aa54c7
authored
Mar 29, 2018
by
Geoffrey Métais
Browse files
Fix audio player started twice on device rotation
parent
d3308f79
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java
View file @
e2aa54c7
...
...
@@ -113,7 +113,6 @@ public class AudioPlayerContainerActivity extends BaseActivity implements Playba
private
void
initAudioPlayer
()
{
((
ViewStubCompat
)
findViewById
(
R
.
id
.
audio_player_stub
)).
inflate
();
mAudioPlayer
=
(
AudioPlayer
)
getSupportFragmentManager
().
findFragmentById
(
R
.
id
.
audio_player
);
mAudioPlayer
.
setUserVisibleHint
(
false
);
mBottomSheetBehavior
=
BottomSheetBehavior
.
from
(
mAudioPlayerContainer
);
mBottomSheetBehavior
.
setPeekHeight
(
getResources
().
getDimensionPixelSize
(
R
.
dimen
.
player_peek_height
));
mBottomSheetBehavior
.
setBottomSheetCallback
(
mAudioPlayerBottomSheetCallback
);
...
...
Write
Preview
Supports
Markdown
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