diff options
author | Wale Ogunwale <ogunwale@google.com> | 2019-10-13 23:00:40 +0200 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2019-10-26 21:07:44 -0700 |
commit | c17418e0aed2a95681a2a8a4cff13eec6caf3b7e (patch) | |
tree | 6365d9ee2482b08f87dd89406619a93da68a4734 /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java | |
parent | 5acd00dae2114040f47f430282887f910ddea521 (diff) |
Clean-up ActivityRecord reparenting/adding to Task (57/n)
- Updated Configuration#onParentChanged to take params newParent and
oldParent to make logic of reparenting less complex to deal with in
classes that extend.
- Introduced WindowContainer#reparent to consolidate reparenting logic
and also allow us to only set onParentChanged once for the operation.
- Simplfied logic flow around adding/remove/reparenting activity to
task by using methods like addChild(), onChildAdded(), and such.
- Removed Task.mDeferRemoval which no longer makes sense and was leading
to task and stack leaks.
Bug: 80414790
Test: Existing tests pass
Change-Id: I4ffa79a1c731dc137213bdd3d7f04b8f013decc4
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java')
0 files changed, 0 insertions, 0 deletions