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

Commit 6cb6ba50 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Do not reset time if time was already set before

Test: Open many apps, ensure logs are correct
Test: ActivityMetricsLoggerTests
Fixes: 131603820
Change-Id: Icbd784db39ba083d1cd52beee88e128dec3ececa
parent 24e9f93b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -326,7 +326,7 @@ class ActivityMetricsLogger {
                                      intent));
        }

        if (!isAnyTransitionActive()) {
        if (mCurrentTransitionStartTime == INVALID_START_TIME) {

            mCurrentTransitionStartTime = SystemClock.uptimeMillis();
            mLastTransitionStartTime = mCurrentTransitionStartTime;