mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-26 06:37:19 +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)
|
public void setVideoSource(@NonNull MasterSecret masterSecret, @NonNull VideoSlide videoSource)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
if (Build.VERSION.SDK_INT >= 14) setExoViewSource(masterSecret, videoSource);
|
if (Build.VERSION.SDK_INT >= 16) setExoViewSource(masterSecret, videoSource);
|
||||||
else setVideoViewSource(masterSecret, videoSource);
|
else setVideoViewSource(masterSecret, videoSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user