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

Commit 62a6ac7a authored by Louis Chang's avatar Louis Chang Committed by Automerger Merge Worker
Browse files

Merge "Fixing the rapid activity launch count always increase" into udc-dev am: 218a3807

parents fbfdf88b 218a3807
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) {