Fix VideoPlayer Build.VERSION minimum

// FREEBIE
fork-5.53.8
Moxie Marlinspike 2017-04-16 11:11:08 -07:00
rodzic c389a9d3ce
commit ddf6126abf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
}