mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +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…
x
Reference in New Issue
Block a user