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

Commit 2956f1d3 authored by Tom Natan's avatar Tom Natan Committed by Android (Google) Code Review
Browse files

Merge "Fix issue where NOT_VISIBLE state is sometimes not logged" into sc-v2-dev

parents e7831937 5804ed79
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4694,6 +4694,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        if (app != null) {
            mTaskSupervisor.onProcessActivityStateChanged(app, false /* forceBatch */);
        }
        logAppCompatState();
    }

    /**
@@ -4721,7 +4722,6 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
                ActivityTaskManagerService.LAYOUT_REASON_VISIBILITY_CHANGED);
        mTaskSupervisor.getActivityMetricsLogger().notifyVisibilityChanged(this);
        mTaskSupervisor.mAppVisibilitiesChangedSinceLastPause = true;
        logAppCompatState();
    }

    @VisibleForTesting