[Android] Fix adv options dialog args

Geoffrey Métais git at videolan.org
Fri Jan 26 15:16:47 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 25 13:39:35 2018 +0100| [a8290547df5d0cd21410a1ca4c6f88ab254de774] | committer: Geoffrey Métais

Fix adv options dialog args

> https://code.videolan.org/videolan/vlc-android/commit/a8290547df5d0cd21410a1ca4c6f88ab254de774
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 0012f168f..713747fca 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -3364,6 +3364,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         final AdvOptionsDialog advOptionsDialog = new AdvOptionsDialog();
         final Bundle args = new Bundle(1);
         args.putBoolean(AdvOptionsDialog.PRIMARY_DISPLAY, mDisplayManager.isPrimary());
+        advOptionsDialog.setArguments(args);
         advOptionsDialog.setOnDismissListener(new DialogInterface.OnDismissListener() {
             @Override
             public void onDismiss(DialogInterface dialog) {



More information about the Android mailing list