From ddf6126abf05548b3bb777e135361c2a7e4fa0f2 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Sun, 16 Apr 2017 11:11:08 -0700 Subject: [PATCH] Fix VideoPlayer Build.VERSION minimum // FREEBIE --- src/org/thoughtcrime/securesms/video/VideoPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/video/VideoPlayer.java b/src/org/thoughtcrime/securesms/video/VideoPlayer.java index 3e1f60226..6a61d7c4a 100644 --- a/src/org/thoughtcrime/securesms/video/VideoPlayer.java +++ b/src/org/thoughtcrime/securesms/video/VideoPlayer.java @@ -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); }