Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e3c540ad authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Prevent NPE when placing fading elements

This CL fixes an NPE that can happen since http://ag/27685078: the
placeWithLayer block can still run even if an element is removed from
composition.

Bug: 290930950
Test: Manual. Unfortunately it's impossible to add tests for this
 because the timings solely depend on the invalidation of the graphics
 layer by the Compose runtime. I have not observed the NPE with this
 change, but I also didn't have manual reproduction steps.
Flag: com.android.systemui.scene_container
Change-Id: Ic8bd91b3d6fd3f8b3d697c72a42bb5f278f5d207
parent 906dad1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment