From 565a333827d76e7a9766f8c8fd2afd3cb7911bd5 Mon Sep 17 00:00:00 2001 From: vivek mehta Date: Tue, 4 Nov 2014 19:13:47 -0800 Subject: 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 --- src/com/android/gallery3d/app/MoviePlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/gallery3d/app/MoviePlayer.java b/src/com/android/gallery3d/app/MoviePlayer.java index 204791a91..ea1e80ea7 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; -- cgit v1.2.3