mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Fix several Gif MP4 UX issues.
This commit is contained in:
@@ -27,6 +27,7 @@ import androidx.annotation.Nullable;
|
||||
import org.thoughtcrime.securesms.R;
|
||||
import org.thoughtcrime.securesms.attachments.Attachment;
|
||||
import org.thoughtcrime.securesms.database.AttachmentDatabase;
|
||||
import org.thoughtcrime.securesms.giph.mp4.GiphyMp4PlaybackPolicy;
|
||||
import org.thoughtcrime.securesms.util.MediaUtil;
|
||||
|
||||
public class VideoSlide extends Slide {
|
||||
@@ -54,7 +55,7 @@ public class VideoSlide extends Slide {
|
||||
|
||||
@Override
|
||||
public boolean hasPlayOverlay() {
|
||||
return true;
|
||||
return !(isVideoGif() && GiphyMp4PlaybackPolicy.autoplay());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user