Skip to content
Snippets Groups Projects

VideoHelper: remove bogus TargetApi for updateVideoSurfaces()

Merged Steve Lhomme requested to merge robUx4/libvlcjni:videosurface-api into master
@@ -206,7 +206,6 @@ class VideoHelper implements IVLCVout.OnNewVideoLayoutListener {
}
}
@TargetApi(Build.VERSION_CODES.N)
void updateVideoSurfaces() {
if (mMediaPlayer == null || mMediaPlayer.isReleased() || !mMediaPlayer.getVLCVout().areViewsAttached()) return;
final boolean isPrimary = mDisplayManager == null || mDisplayManager.isPrimary();
Loading