summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2014-04-02 19:49:20 +0800
committerXiaojing Zhang <zhangx@codeaurora.org>2014-11-04 20:38:49 -0800
commit722ab5ab315ef7f7699af821919b0189059b77b8 (patch)
treea5a30b03f42addd04ae6814f322f5445c6fff010 /src/com/android
parent6e4a5cce7d1043e6d09ff2d8dfcf2b7f8cff2fca (diff)
downloadandroid_packages_apps_Gallery2-722ab5ab315ef7f7699af821919b0189059b77b8.tar.gz
android_packages_apps_Gallery2-722ab5ab315ef7f7699af821919b0189059b77b8.tar.bz2
android_packages_apps_Gallery2-722ab5ab315ef7f7699af821919b0189059b77b8.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
Diffstat (limited to 'src/com/android')
-rwxr-xr-xsrc/com/android/gallery3d/app/MoviePlayer.java1
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;