Commit 637e4c86 authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Jean-Baptiste Kempf

VideoPlayer : don't stop playing when press Back and mOverlaySlider is open.

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e0418d25
......@@ -408,6 +408,15 @@ public class VideoPlayerActivity extends Activity {
super.onResume();
}
@Override
public void onBackPressed() {
if (mOverlaySlider.isOpened()){
mOverlaySlider.animateClose();
return;
}
super.onBackPressed();
}
public static void start(Context context, String location) {
start(context, location, null, false);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment