Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6714ce2 authored by Santosh Madhava's avatar Santosh Madhava
Browse files

Fix for issue 3385068 : Play gets out of sync

Change-Id: Iaf5e2f246b9cbfc5c8093d34ed085fe255ae500b
parent b8942108
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -3021,7 +3021,7 @@ class MediaArtistNativeHelper {
     */
     */
    public void doPreview(Surface surface, long fromMs, long toMs, boolean loop,
    public void doPreview(Surface surface, long fromMs, long toMs, boolean loop,
            int callbackAfterFrameCount, PreviewProgressListener listener) {
            int callbackAfterFrameCount, PreviewProgressListener listener) {
        mPreviewProgress = 0;
        mPreviewProgress = fromMs;
        if (listener != null) {
        if (listener != null) {
            mPreviewProgressListener = listener;
            mPreviewProgressListener = listener;
        }
        }