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

Commit 3b378dfe authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

Merge "Searching and resuming the visible child Tasks behind invisible one" into tm-qpr-dev

parents 6fbc1343 3fe70b2b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4920,6 +4920,11 @@ class Task extends TaskFragment {
                    }
                    if (child.getVisibility(null /* starting */)
                            != TASK_FRAGMENT_VISIBILITY_VISIBLE) {
                        if (child.topRunningActivity() == null) {
                            // Skip the task if no running activity and continue resuming next task.
                            continue;
                        }
                        // Otherwise, assuming everything behind this task should also be invisible.
                        break;
                    }