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

Commit f44565d0 authored by Hui (QRD) Yu's avatar Hui (QRD) Yu Committed by Gerrit - the friendly Code Review server
Browse files

MoviePlayer: Flush UI display after suspend/resume

- Post mPlayingCheck again in onResume() for HTTP streaming
- To disable the "Loading" pattern after resume

Change-Id: Ic0e5bd0bb0710d76f41a40249022526b4d4e71db
parent 90ade05b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -293,6 +293,12 @@ public class MoviePlayer implements
                pauseVideo();
            }
        }

        if (System.currentTimeMillis() > mResumeableTime) {
            mHandler.removeCallbacks(mPlayingChecker);
            mHandler.postDelayed(mPlayingChecker, 250);
        }

        mHandler.post(mProgressChecker);
    }