summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2021-02-03 10:50:45 -0800
committerEvan Rosky <erosky@google.com>2021-03-02 12:34:03 -0800
commit7e3bc7154e38579abd7d8d7898a8ec47a51f9af1 (patch)
treeeffb7c796d2bbfd6e3950f16e37e85300a4b1149 /rs/java/android/renderscript/RenderScript.java
parent057fc812a94b4ffd242af09ecb019108af42051f (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 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions