Commit a8290547 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix adv options dialog args

parent 22b9e837
......@@ -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) {
......
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