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

Skip to content
Commit d9dd4341 authored by Pascal Mütschard's avatar Pascal Mütschard
Browse files

Tie the jank listener lifetime to the registration.

This makes sure that the listener doesn't get GC'ed as long as the
registration stays alive. When the listener is GC'ed, it's automatically
removed from the jank tracking API. Since we wrap the listener in the
AttachedSurfaceControl, there are no other references to the listener.

Bug: b/392687889
Test: manual
Flag: EXEMPT bugfix
Change-Id: I6721971fc03df92b14c5fd41a5c2aa828a2b4c93
parent 107fe807
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