Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
534
Issue boards
Milestones
Wiki
Code
Merge requests
10
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
4ef17cb7
Commit
4ef17cb7
authored
6 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Lock Audioplayer when expanded
parent
3c19298b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/gui/helpers/BottomSheetBehavior.java
+1
-1
1 addition, 1 deletion
...src/org/videolan/vlc/gui/helpers/BottomSheetBehavior.java
with
1 addition
and
1 deletion
vlc-android/src/org/videolan/vlc/gui/helpers/BottomSheetBehavior.java
+
1
−
1
View file @
4ef17cb7
...
...
@@ -40,7 +40,7 @@ public class BottomSheetBehavior<V extends View> extends com.google.android.mate
@Override
public
void
onNestedScroll
(
@NonNull
CoordinatorLayout
coordinatorLayout
,
@NonNull
V
child
,
@NonNull
View
target
,
int
dxConsumed
,
int
dyConsumed
,
int
dxUnconsumed
,
int
dyUnconsumed
,
int
type
)
{
if
(
lock
)
return
;
if
(
lock
||
getState
()
==
BottomSheetBehavior
.
STATE_EXPANDED
)
return
;
if
(
dyConsumed
>
0
&&
child
.
getVisibility
()
==
View
.
VISIBLE
)
{
final
AudioPlayerContainerActivity
activity
=
(
AudioPlayerContainerActivity
)
child
.
getContext
();
activity
.
hideAudioPlayer
();
...
...
This diff is collapsed.
Click to expand it.
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