Commit 8a372ab7 authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

HardwareAccelerationError dialog: finish() on cancel

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 08936b83
......@@ -1127,6 +1127,12 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
finish();
}
})
.setOnCancelListener(new DialogInterface.OnCancelListener() {
@Override
public void onCancel(DialogInterface dialog) {
finish();
}
})
.setTitle(R.string.hardware_acceleration_error_title)
.setMessage(R.string.hardware_acceleration_error_message)
.create();
......
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