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

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

Ensure that ghosted view is attached when calculating its matrix.

This CL ensures that the ghosted view is attached to a ViewGroup before
calculating the matrix of that view. It could happen that the view would
be detached after the animation was started, which would then crash
SysUI when calling GhostView.calculateMatrix.

I tested this CL manually by first reproducing this b/202668591 by
detaching ghostedView from its parent after the animation started, and
then confirmed that this fix prevents the animation from crashing.

Test: Manual
Bug: 202668591
Fixes: 202668591
Change-Id: I7bf0bedb4860a00f1c44cac9258ff5dc753fb355
parent 837add11
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