mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Fix VideoPlayer Build.VERSION minimum
// FREEBIE
This commit is contained in:
parent
c389a9d3ce
commit
ddf6126abf
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user