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

Commit 54e08d66 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Check task visibility vs. root task visibility" into rvc-dev am: ae6d4918 am: 096b2d9d

Change-Id: Id396c3828cf130898c5b9ac58d1062da055732e2
parents da9c7e4d 096b2d9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4712,7 +4712,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
     */
    private boolean shouldBeResumed(ActivityRecord activeActivity) {
        return shouldMakeActive(activeActivity) && isFocusable()
                && getRootTask().getVisibility(activeActivity) == STACK_VISIBILITY_VISIBLE
                && getTask().getVisibility(activeActivity) == STACK_VISIBILITY_VISIBLE
                && canResumeByCompat();
    }