summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2019-10-13 23:00:40 +0200
committerWale Ogunwale <ogunwale@google.com>2019-10-26 21:07:44 -0700
commitc17418e0aed2a95681a2a8a4cff13eec6caf3b7e (patch)
tree6365d9ee2482b08f87dd89406619a93da68a4734 /tests/Codegen/src/com/android/codegentest/SampleDataClassTest.java
parent5acd00dae2114040f47f430282887f910ddea521 (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