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

Commit 9a22a175 authored by Winson Chung's avatar Winson Chung
Browse files

Fixing issue where Recents would not work if the time is changed. (Bug 17995039)

Change-Id: I389631aac1dba30003e82e7c2beac86d01117dfb
parent a9a550dd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -327,7 +327,8 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta
        // If the user has toggled it too quickly, then just eat up the event here (it's better than
        // showing a janky screenshot).
        // NOTE: Ideally, the screenshot mechanism would take the window transform into account
        if (System.currentTimeMillis() - mLastToggleTime < sMinToggleDelay) {
        long currentTime = System.currentTimeMillis();
        if ((currentTime > mLastToggleTime) && (currentTime - mLastToggleTime) < sMinToggleDelay) {
            return;
        }