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

Commit 218a3807 authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

Merge "Fixing the rapid activity launch count always increase" into udc-dev

parents e12e7292 718d6a4c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -563,7 +563,7 @@ public class WindowProcessController extends ConfigurationContainer<Configuratio
            return;
        }

        final long diff = lastLaunchTime - launchTime;
        final long diff = launchTime - lastLaunchTime;
        if (diff < RAPID_ACTIVITY_LAUNCH_MS) {
            mRapidActivityLaunchCount++;
        } else if (diff >= RESET_RAPID_ACTIVITY_LAUNCH_MS) {