diff options
| author | 2024-06-07 15:47:01 +0200 | |
|---|---|---|
| committer | 2024-06-07 17:23:01 +0200 | |
| commit | e3c540ad3e60f85ad5969fa0d0767ef29c3d35a2 (patch) | |
| tree | 4c96fcd367a8901be2b8f468803753d08a24ae30 /libs/input/PointerController.cpp | |
| parent | 906dad1ce10e03030d98600a22cd554b8bf7cc61 (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions