Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Casanowow Life for love
VLC-Android
Commits
7c965f82
Commit
7c965f82
authored
Jan 17, 2014
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Audio player: slide down the audio player on back key pressed when it is entirely shown
parent
891821ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
vlc-android/src/org/videolan/vlc/gui/MainActivity.java
vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+7
-0
No files found.
vlc-android/src/org/videolan/vlc/gui/MainActivity.java
View file @
7c965f82
...
...
@@ -406,6 +406,13 @@ public class MainActivity extends SherlockFragmentActivity {
mMenu
.
showContent
();
return
;
}
// Slide down the mini player if it is shown entirely.
if
(
mSlidingPane
.
getState
()
==
mSlidingPane
.
STATE_CLOSED
)
{
mSlidingPane
.
openPane
();
return
;
}
// If it's the directory view, a "backpressed" action shows a parent.
if
(
mCurrentFragment
.
equals
(
"directories"
))
{
DirectoryViewFragment
directoryView
=
(
DirectoryViewFragment
)
getFragment
(
mCurrentFragment
);
...
...
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