From 19054ff75a4d3533f5f9f6cb4d0c2112382c47c3 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 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; -- cgit v1.2.3