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

Commit 26b2b632 authored by Winson Chung's avatar Winson Chung Committed by Android Git Automerger
Browse files

am 14dd7330: am 00f65038: am 272b0a1d: Merge "Fixing issue where Recents would...

am 14dd7330: am 00f65038: am 272b0a1d: Merge "Fixing issue where Recents would not work if the time is changed. (Bug 17995039)" into lmp-mr1-dev

* commit '14dd7330':
  Fixing issue where Recents would not work if the time is changed. (Bug 17995039)
parents 2e904194 14dd7330
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -323,7 +323,8 @@ public class AlternateRecentsComponent {
        // 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;
        }