From 3804f3d8f43b146819ca272f2d3f380c511ffcd1 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 8 Nov 2016 23:08:35 +0100 Subject: [PATCH] autoplay videos only if set so --- .../com/simplemobiletools/gallery/fragments/VideoFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/simplemobiletools/gallery/fragments/VideoFragment.java b/app/src/main/java/com/simplemobiletools/gallery/fragments/VideoFragment.java index 7f729f0ea..106bb845f 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/fragments/VideoFragment.java +++ b/app/src/main/java/com/simplemobiletools/gallery/fragments/VideoFragment.java @@ -409,7 +409,7 @@ public class VideoFragment extends ViewPagerFragment setupTimeHolder(); setProgress(mCurrTime); - if (mIsFragmentVisible) + if (mIsFragmentVisible && Config.newInstance(getContext()).getAutoplayVideos()) playVideo(); } }