summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkaiyiz <kaiyiz@codeaurora.org>2015-03-12 16:50:03 +0800
committerkaiyiz <kaiyiz@codeaurora.org>2015-03-12 16:50:03 +0800
commit2317c969f87f9d5dce040cde4f2317d547b69dd9 (patch)
treeb4fa32776f67e641f609683159d70ec553f2eb31 /src
parent7cb1ef7c968b1c7829444d7a05aa536d9f073600 (diff)
downloadandroid_packages_apps_Gallery2-2317c969f87f9d5dce040cde4f2317d547b69dd9.zip
android_packages_apps_Gallery2-2317c969f87f9d5dce040cde4f2317d547b69dd9.tar.gz
android_packages_apps_Gallery2-2317c969f87f9d5dce040cde4f2317d547b69dd9.tar.bz2
Gallery2: Set video view visible
The video view is set invisible when do OnPause in movie player. Cancel the video view set in doOnPause. Change-Id: I56616ad838024bba52727122c71d3cde26546cd4 CRs-Fixed: 801784
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/gallery3d/app/MoviePlayer.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/MoviePlayer.java b/src/com/android/gallery3d/app/MoviePlayer.java
index 5092016..89ff7cb 100755
--- a/src/com/android/gallery3d/app/MoviePlayer.java
+++ b/src/com/android/gallery3d/app/MoviePlayer.java
@@ -470,8 +470,6 @@ public class MoviePlayer implements
mVideoView.suspend();
mResumeableTime = System.currentTimeMillis() + RESUMEABLE_TIMEOUT;
mVideoView.setResumed(false);// avoid start after surface created
- // Workaround for last-seek frame difference
- mVideoView.setVisibility(View.INVISIBLE);
long end2 = System.currentTimeMillis();
// TODO comments by sunlei
mOverlayExt.clearBuffering();