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

Commit 2c672560 authored by Louis Chang's avatar Louis Chang Committed by Automerger Merge Worker
Browse files

Merge "Searching and resuming the visible child Tasks behind invisible one"...

Merge "Searching and resuming the visible child Tasks behind invisible one" into tm-qpr-dev am: 3b378dfe am: 48019346

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



Change-Id: Ib1644a774e0366fd6fb6f0a637ef14a3eee5f7fd
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 4a79aae5 48019346
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4890,6 +4890,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;
                    }