From ac9cc3de5200045a70b7dfea64183668c887275e Mon Sep 17 00:00:00 2001 From: kaiyiz Date: Wed, 2 Apr 2014 19:49:20 +0800 Subject: 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 --- src/com/android/gallery3d/app/MoviePlayer.java | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3