Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
533
Issue boards
Milestones
Wiki
Code
Merge requests
13
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
242f2f5c
Commit
242f2f5c
authored
5 years ago
by
Nicolas Pomepuy
Committed by
Geoffrey Métais
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix audio player menu visibility
parent
0221a055
No related branches found
No related tags found
1 merge request
!79
Fix audio player menu visibility
Pipeline
#6574
passed with stage
Stage:
in 4 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+7
-1
7 additions, 1 deletion
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
with
7 additions
and
1 deletion
vlc-android/src/org/videolan/vlc/gui/audio/AudioPlayer.kt
+
7
−
1
View file @
242f2f5c
...
...
@@ -24,6 +24,7 @@ import android.Manifest
import
android.annotation.TargetApi
import
android.content.Context
import
android.content.SharedPreferences
import
android.content.res.Configuration
import
android.net.Uri
import
android.os.Build
import
android.os.Bundle
...
...
@@ -151,6 +152,11 @@ class AudioPlayer : Fragment(), PlaylistAdapter.IPlayer, TextWatcher {
binding
.
timeline
.
setOnSeekBarChangeListener
(
timelineListener
)
}
override
fun
onResume
()
{
onStateChanged
(
playerState
)
super
.
onResume
()
}
override
fun
onSaveInstanceState
(
outState
:
Bundle
)
{
super
.
onSaveInstanceState
(
outState
)
outState
.
putInt
(
"player_state"
,
playerState
)
...
...
@@ -366,7 +372,7 @@ class AudioPlayer : Fragment(), PlaylistAdapter.IPlayer, TextWatcher {
headerTimeVisible
:
Boolean
,
searchVisible
:
Boolean
,
filter
:
Boolean
=
false
)
{
this
.
advFuncVisible
=
!
filter
&&
advFuncVisible
this
.
playlistSwitchVisible
=
!
filter
&&
playlistSwitchVisible
this
.
playlistSwitchVisible
=
!
filter
&&
playlistSwitchVisible
&&
resources
.
configuration
.
orientation
!=
Configuration
.
ORIENTATION_LANDSCAPE
this
.
headerPlayPauseVisible
=
!
filter
&&
headerPlayPauseVisible
this
.
progressBarVisible
=
!
filter
&&
progressBarVisible
this
.
headerTimeVisible
=
!
filter
&&
headerTimeVisible
...
...
This diff is collapsed.
Click to expand it.
Geoffrey Métais
@Dekans
mentioned in commit
9e18c70c
·
5 years ago
mentioned in commit
9e18c70c
mentioned in commit 9e18c70c316cc292766ffe0dbd91f11f612648e3
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment