Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a062a4a3 authored by vivek mehta's avatar vivek mehta Committed by Gerrit - the friendly Code Review server
Browse files

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
parent 90ade05b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.