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

Commit 9d05f4e2 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/30970091'] into 25Q1-release.

Change-Id: I37fc7fcad2f85b677c626ba9e2d6032cbc108d79
parents fe291cc8 55b5ae05
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -10334,7 +10334,9 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        }
        if (!isVisibleRequested()) {
            // TODO(b/294925498): Remove this finishing check once we have accurate ready tracking.
            if (task != null && task.getPausingActivity() == this) {
            if (task != null && task.getPausingActivity() == this
                    // Display is asleep, so nothing will be visible anyways.
                    && !mDisplayContent.isSleeping()) {
                // Visibility of starting activities isn't calculated until pause-complete, so if
                // this is not paused yet, don't consider it ready.
                return false;