Merge "Searching and resuming the visible child Tasks behind invisible one" into tm-qpr-dev am: 3b378dfe3f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20674699 Change-Id: I596995f82d045e4b5e4350b4a85e0fe12d89753e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -4921,6 +4921,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user