summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorwilsonshih <wilsonshih@google.com>2020-06-23 17:18:54 +0800
committerwilsonshih <wilsonshih@google.com>2020-07-02 14:29:40 +0800
commit3c1c2c04e2dde3ac9e7f92af63ab24a4f180330f (patch)
tree4217e4d446816648b663b2ef572e3913352c3f34 /tools/aapt2/java/JavaClassGenerator.cpp
parent616f0731c50dda63acb7f76b02c08182cb095c1e (diff)
Fix the regression that closing transition disappeared.
For hierarchical animation, there are missing some handling around mNeedsZBoost, when closing an activity the transition did not applied. 1. Move some codes around mNeedsZBoost from ActivityRecord to WindowContainer so Task can also benefit from it. 2. TaskDisplayArea#assignChildLayers should combined needsZBoost so this attribute can apply on root task. 3. If next top activity will move to top in #finishIfPossible and the finishing activity is on top, provide it a higher layer to remain on top. Otherwise user will see flicker because the transition need to be applied until next activity resumed. Bug: 159200318 Test: atest ActivityRecordTests TaskDisplayAreaTests AppWindowTokenAnimationTests TransitionSelectionTests Change-Id: I85ec3307b31444e09179abca30298af2ce538834
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions