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

Video: error dialog only for last playlist item

parent fca097da
......@@ -1764,8 +1764,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
private void encounteredError() {
if (isFinishing())
if (isFinishing() || mService.hasNext()) return;
/* Encountered Error, exit player with a message */
mAlertDialog = new AlertDialog.Builder(VideoPlayerActivity.this)
.setOnCancelListener(new DialogInterface.OnCancelListener() {
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