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

Commit fc294a76 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...

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23629236



Change-Id: If41f7a168fe7f5e22e1675249d6a4c848c7272e9
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 37b73e10 62a6ac7a
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) {