summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-08-06 23:09:30 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-08-10 01:40:52 +0800
commit2462a271eaee3fc274ae7b3923fd97d3dfb6cfa6 (patch)
tree87a081c268f55d01054570f977835312679c6656 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc26e08020c887dd6cf31f97e8103b7dcbede0f2c (diff)
Consider destruction of activity for task removal
... from organizer. This aligns the behavior of display removal, that removes the container until its children are destroyed without forcing. In other words, the task requested to be removed will be removed when the last activity belonging to the task reports it has done the destruction. This also avoids the case that the activity was removed from hierarchy but window process controller still references to it, which will cause NPE in ActivityRecord#cleanup. Besides, adopt the hierarchical defer removal to task fragment level (handleCompleteDeferredRemoval), so if it has something animating, it will be removed until the animation is done. Also - Fine tune some dump formats. - Fix wrong parent when removing child of non-root task. - Remove hasWindowsAlive because the window hierarchy was unified that app window belongs to activity directly. Bug: 195770030 Test: TaskTests#testRemoveContainer ActivityRecordTests#testRemoveImmediately Change-Id: Iddf0c4838103f36f40b8b4a7354ecd4c69a70200
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions