diff options
author | kaiyiz <kaiyiz@codeaurora.org> | 2014-04-02 19:49:20 +0800 |
---|---|---|
committer | emancebo <emancebo@cyngn.com> | 2014-09-04 10:40:20 -0700 |
commit | ac9cc3de5200045a70b7dfea64183668c887275e (patch) | |
tree | 85f2b603b43e1d54121808aa5821816bee934dc7 | |
parent | b984156d4f4e30154e2c8e327098a7238f64b6c3 (diff) | |
download | android_packages_apps_Gallery2-ac9cc3de5200045a70b7dfea64183668c887275e.tar.gz android_packages_apps_Gallery2-ac9cc3de5200045a70b7dfea64183668c887275e.tar.bz2 android_packages_apps_Gallery2-ac9cc3de5200045a70b7dfea64183668c887275e.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
-rw-r--r-- | 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 89e9a2fee..9a1730b75 100644 --- a/src/com/android/gallery3d/app/MoviePlayer.java +++ b/src/com/android/gallery3d/app/MoviePlayer.java @@ -1163,7 +1163,6 @@ public class MoviePlayer implements mVideoView.stopPlayback(); mVideoView.setResumed(false); mVideoView.setVisibility(View.INVISIBLE); - mVideoView.setVisibility(View.VISIBLE); clearVideoInfo(); mActivityContext.releaseEffects(); mFirstBePlayed = false; |