diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2014-04-02 19:49:20 +0800 |
---|---|---|
committer | cretin45 <cretin45@gmail.com> | 2014-12-15 14:49:21 -0800 |
commit | 19054ff75a4d3533f5f9f6cb4d0c2112382c47c3 (patch) | |
tree | a5a30b03f42addd04ae6814f322f5445c6fff010 | |
parent | 8f0280cc3c14f9f04015dcc77bec4379a657aa41 (diff) | |
download | android_packages_apps_Gallery2-19054ff75a4d3533f5f9f6cb4d0c2112382c47c3.tar.gz android_packages_apps_Gallery2-19054ff75a4d3533f5f9f6cb4d0c2112382c47c3.tar.bz2 android_packages_apps_Gallery2-19054ff75a4d3533f5f9f6cb4d0c2112382c47c3.zip |
Gallery2: Make forward/rewind button grey when stopVideo
StopVideo Api is setting the view visibility which causes
the surface to be created and make the bug happen.
Removed the functionality of the view visibility in
stopVideo Api
CRs-fixed: 642082
Change-Id: I4305302e52ec647bc2b935a817e77a173647be22
-rwxr-xr-x | src/com/android/gallery3d/app/MoviePlayer.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/MoviePlayer.java b/src/com/android/gallery3d/app/MoviePlayer.java index 48818a8bb..51019a7e6 100755 --- a/src/com/android/gallery3d/app/MoviePlayer.java +++ b/src/com/android/gallery3d/app/MoviePlayer.java @@ -1134,7 +1134,6 @@ public class MoviePlayer implements mVideoView.stopPlayback(); mVideoView.setResumed(false); mVideoView.setVisibility(View.INVISIBLE); - mVideoView.setVisibility(View.VISIBLE); clearVideoInfo(); mActivityContext.releaseEffects(); mFirstBePlayed = false; |