[Android] Fix audio player started twice on device rotation
Geoffrey Métais
git at videolan.org
Fri Mar 30 16:25:41 CEST 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 29 16:00:22 2018 +0200| [e2aa54c7fdc93200b4bc564a5ca4b8f2eb843257] | committer: Geoffrey Métais
Fix audio player started twice on device rotation
> https://code.videolan.org/videolan/vlc-android/commit/e2aa54c7fdc93200b4bc564a5ca4b8f2eb843257
---
vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java b/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java
index 79402a8dd..81764ba75 100644
--- a/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/AudioPlayerContainerActivity.java
@@ -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);
More information about the Android
mailing list