diff options
author | Evan Rosky <erosky@google.com> | 2021-02-03 10:50:45 -0800 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2021-03-02 12:34:03 -0800 |
commit | 7e3bc7154e38579abd7d8d7898a8ec47a51f9af1 (patch) | |
tree | effb7c796d2bbfd6e3950f16e37e85300a4b1149 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 057fc812a94b4ffd242af09ecb019108af42051f (diff) |
Abstract some transition checks so they can be expanded.
This is mostly to clean-up CL diffs so its easier to tell
what is changing. The main change here is replacing naked
parint == null checks with TransitionInfo.isIndependent() which
can do extra logic to handle cases where, even though a change
has a parent, it might be animating independently with in it.
The easiest example is display rotating while an app is opening.
This also fixes a small bug when removing a non-visible task.
Bug: 179270750
Test: atest TransitionTests
Change-Id: Ibd72b0721f33602b26bcc5c7060fc959aed04377
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions