Merge "Fix stack reference is not updated when task organizer is dead." into rvc-dev am: 70511db961
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12068938 Change-Id: I395de6a9dc0d8b9e505ee10b63759e64032ddff7
This commit is contained in:
@@ -1423,7 +1423,7 @@ class Task extends WindowContainer<WindowContainer> {
|
||||
void removeChild(WindowContainer r, String reason) {
|
||||
// A rootable child task that is now being removed from an organized task. Making sure
|
||||
// the stack references is keep updated.
|
||||
if (mTaskOrganizer != null && mCreatedByOrganizer && r.asTask() != null) {
|
||||
if (mCreatedByOrganizer && r.asTask() != null) {
|
||||
getDisplayArea().removeStackReferenceIfNeeded((ActivityStack) r);
|
||||
}
|
||||
if (!mChildren.contains(r)) {
|
||||
|
||||
Reference in New Issue
Block a user