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

Commit 1f0e68f0 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Revert "Extend unfreeze recents duration when running under tests"" into main

parents 5be3ab37 08f5b65b
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -301,12 +301,9 @@ class RecentTasks {
        }

        // Always update the reordering time when this is called to ensure that the timeout
        // is reset.  Extend this duration when running in tests.
        final long timeout = ActivityManager.isRunningInUserTestHarness()
                ? mFreezeTaskListTimeoutMs * 10
                : mFreezeTaskListTimeoutMs;
        // is reset
        mService.mH.removeCallbacks(mResetFreezeTaskListOnTimeoutRunnable);
        mService.mH.postDelayed(mResetFreezeTaskListOnTimeoutRunnable, timeout);
        mService.mH.postDelayed(mResetFreezeTaskListOnTimeoutRunnable, mFreezeTaskListTimeoutMs);
    }

    /**