Loading packages/MediaComponents/src/com/android/widget/VideoView2Impl.java +2 −2 Original line number Diff line number Diff line Loading @@ -407,7 +407,7 @@ public class VideoView2Impl extends BaseLayout return; } mSpeed = speed; if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { if (mMediaPlayer != null && mMediaPlayer.getState() == MediaPlayer2.PLAYER_STATE_PLAYING) { applySpeed(); } updatePlaybackState(); Loading Loading @@ -1341,7 +1341,7 @@ public class VideoView2Impl extends BaseLayout if (isRemotePlayback()) { mRoutePlayer.onPause(); mCurrentState = STATE_PAUSED; } else if (mMediaPlayer.isPlaying()) { } else if (mMediaPlayer.getState() == MediaPlayer2.PLAYER_STATE_PLAYING) { mMediaPlayer.pause(); mCurrentState = STATE_PAUSED; updatePlaybackState(); Loading Loading
packages/MediaComponents/src/com/android/widget/VideoView2Impl.java +2 −2 Original line number Diff line number Diff line Loading @@ -407,7 +407,7 @@ public class VideoView2Impl extends BaseLayout return; } mSpeed = speed; if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { if (mMediaPlayer != null && mMediaPlayer.getState() == MediaPlayer2.PLAYER_STATE_PLAYING) { applySpeed(); } updatePlaybackState(); Loading Loading @@ -1341,7 +1341,7 @@ public class VideoView2Impl extends BaseLayout if (isRemotePlayback()) { mRoutePlayer.onPause(); mCurrentState = STATE_PAUSED; } else if (mMediaPlayer.isPlaying()) { } else if (mMediaPlayer.getState() == MediaPlayer2.PLAYER_STATE_PLAYING) { mMediaPlayer.pause(); mCurrentState = STATE_PAUSED; updatePlaybackState(); Loading