summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorvivek mehta <mvivek@codeaurora.org>2014-11-04 19:13:47 -0800
committerSteve Kondik <steve@cyngn.com>2015-03-28 14:56:24 -0700
commitcdaf28c60f8aea4450d041dceb608d857d51682a (patch)
tree121610bfd688f0e5a314e447784f0bb9cef2b24f /src
parent8c9993df9ac9586172504b1ad359ede5d01ff9a3 (diff)
downloadandroid_packages_apps_Gallery2-cdaf28c60f8aea4450d041dceb608d857d51682a.zip
android_packages_apps_Gallery2-cdaf28c60f8aea4450d041dceb608d857d51682a.tar.gz
android_packages_apps_Gallery2-cdaf28c60f8aea4450d041dceb608d857d51682a.tar.bz2
Gallery2: reduce post delay time
Currently there is 500ms of delay added in Video view that adds to app playback startup latency time. Reducing this delay to 50ms helps in reducing the startup latency. Change-Id: If1db674a66d68b94654868fd3e4d5c84ea5265e7
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/gallery3d/app/MoviePlayer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/app/MoviePlayer.java b/src/com/android/gallery3d/app/MoviePlayer.java
index c52c4b0..a7f00bc 100755
--- a/src/com/android/gallery3d/app/MoviePlayer.java
+++ b/src/com/android/gallery3d/app/MoviePlayer.java
@@ -102,7 +102,7 @@ public class MoviePlayer implements
private static final String KEY_VIDEO_STATE = "video_state";
private static final String VIRTUALIZE_EXTRA = "virtualize";
- private static final long BLACK_TIMEOUT = 500;
+ private static final long BLACK_TIMEOUT = 50;
private static final int DELAY_REMOVE_MS = 10000;
public static final int SERVER_TIMEOUT = 8801;