Fix VideoPlayer Build.VERSION minimum

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2017-04-16 11:11:08 -07:00
parent c389a9d3ce
commit ddf6126abf

View File

@ -75,7 +75,7 @@ public class VideoPlayer extends FrameLayout {
public void setVideoSource(@NonNull MasterSecret masterSecret, @NonNull VideoSlide videoSource)
throws IOException
{
if (Build.VERSION.SDK_INT >= 14) setExoViewSource(masterSecret, videoSource);
if (Build.VERSION.SDK_INT >= 16) setExoViewSource(masterSecret, videoSource);
else setVideoViewSource(masterSecret, videoSource);
}