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

Commit f15b6c4e authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Make a copy of surface control for bubble leash

The surface control from transition should only be used while
animating. If the component wants to keep the surface, it is
safer to make a copy and release by itself.

Also remove manual reparent to null, because the surface is the
real surface of task, core already performs the surface removal
when removing the task.

Bug: 411280316
Flag: EXEMPT bugfix
Test: Launch a bubble task.
      No crash on rotate screen and remove bubble.
Change-Id: I109735be704f4ecf61f88f43a96b4be9dfc27de0
parent 7a79cec7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment