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

Commit 746f95c8 authored by Tom Natan's avatar Tom Natan Committed by Automerger Merge Worker
Browse files

Merge "Fix issue where NOT_VISIBLE state is sometimes not logged" into...

Merge "Fix issue where NOT_VISIBLE state is sometimes not logged" into sc-v2-dev am: 2956f1d3 am: e4545c9f

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

Change-Id: Icc2b36aaa4d7cbc90a087475449de57e79057b9f
parents 0e816076 e4545c9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4628,6 +4628,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        if (app != null) {
            mTaskSupervisor.onProcessActivityStateChanged(app, false /* forceBatch */);
        }
        logAppCompatState();
    }

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

    @VisibleForTesting