diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2015-01-13 12:20:19 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-01-13 12:20:19 -0800 |
commit | c300a39b471a09670f4e3c738b5a7eb7a37c3ac1 (patch) | |
tree | 737ca006f33c1bc1b344feb52a75551341dc2e58 /src | |
parent | 8fe224d377b8731dcecc33d88d514445caee22b7 (diff) | |
parent | c4213e017d54db39f3b5285224cec98460c73de4 (diff) | |
download | android_packages_apps_Gallery2-c300a39b471a09670f4e3c738b5a7eb7a37c3ac1.tar.gz android_packages_apps_Gallery2-c300a39b471a09670f4e3c738b5a7eb7a37c3ac1.tar.bz2 android_packages_apps_Gallery2-c300a39b471a09670f4e3c738b5a7eb7a37c3ac1.zip |
Merge "Gallery2: fix the video playback after system language changed"
Diffstat (limited to 'src')
-rwxr-xr-x | src/com/android/gallery3d/app/MoviePlayer.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/app/MoviePlayer.java b/src/com/android/gallery3d/app/MoviePlayer.java index e5874fd1c..3e882ef58 100755 --- a/src/com/android/gallery3d/app/MoviePlayer.java +++ b/src/com/android/gallery3d/app/MoviePlayer.java @@ -297,6 +297,9 @@ public class MoviePlayer implements mResumeableTime = savedInstance.getLong(KEY_RESUMEABLE_TIME, Long.MAX_VALUE); onRestoreInstanceState(savedInstance); mHasPaused = true; + doStartVideo(true, mVideoPosition, mVideoLastDuration,false); + mVideoView.start(); + mActivityContext.initEffects(mVideoView.getAudioSessionId()); } else { mTState = TState.PLAYING; mFirstBePlayed = true; |