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

Commit 65d64a2d authored by Chris Li's avatar Chris Li Committed by Automerger Merge Worker
Browse files

Merge "Exclude finishing ActivityRecord when checking overlay" into tm-qpr-dev am: c5bfa992

parents 07131f87 c5bfa992
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -5818,8 +5818,8 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        // in untrusted mode. Traverse bottom to top with boundary so that it will only check
        // in untrusted mode. Traverse bottom to top with boundary so that it will only check
        // activities above this activity.
        // activities above this activity.
        final ActivityRecord differentUidOverlayActivity = getTask().getActivity(
        final ActivityRecord differentUidOverlayActivity = getTask().getActivity(
                a -> a.getUid() != getUid(), this /* boundary */, false /* includeBoundary */,
                a -> !a.finishing && a.getUid() != getUid(), this /* boundary */,
                false /* traverseTopToBottom */);
                false /* includeBoundary */, false /* traverseTopToBottom */);
        return differentUidOverlayActivity != null;
        return differentUidOverlayActivity != null;
    }
    }