diff options
author | vivek mehta <mvivek@codeaurora.org> | 2014-11-04 19:13:47 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-11-05 10:37:53 -0800 |
commit | a062a4a3b567553622aa1e3b4de393917225b8b3 (patch) | |
tree | e132ecd5f08cdadbd1ecc44f358da35f9b4d2e41 /src | |
parent | 90ade05b6276acb084d490003253d7e3d35e1c47 (diff) | |
download | android_packages_apps_Gallery2-a062a4a3b567553622aa1e3b4de393917225b8b3.tar.gz android_packages_apps_Gallery2-a062a4a3b567553622aa1e3b4de393917225b8b3.tar.bz2 android_packages_apps_Gallery2-a062a4a3b567553622aa1e3b4de393917225b8b3.zip |
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')
-rw-r--r-- | src/com/android/gallery3d/app/MoviePlayer.java | 2 |
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 f6bd36725..0e14c3d3a 100644 --- a/src/com/android/gallery3d/app/MoviePlayer.java +++ b/src/com/android/gallery3d/app/MoviePlayer.java @@ -69,7 +69,7 @@ public class MoviePlayer implements private static final String CMDPAUSE = "pause"; private static final String VIRTUALIZE_EXTRA = "virtualize"; - private static final long BLACK_TIMEOUT = 500; + private static final long BLACK_TIMEOUT = 50; // If we resume the acitivty with in RESUMEABLE_TIMEOUT, we will keep playing. // Otherwise, we pause the player. |