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

Skip to content
Commit 2d6d916f authored by Bryce Lee's avatar Bryce Lee
Browse files

Address memory leak in EdgeBackGestureHandler.

EdgeBackGestureHandler listens to changes in GestureInteractor by
collecting the blocked activity flow. Previously, this flow was
untracked and therefore not cleaned up when the
EdgeBackGestureHandler was discarded. This changelist addresse
this by retaining the returned Job and canceling it when the
EdgeBackGestureHandler is not enabled.

Test: traced memory usage in hprof to ensure only a single
      instance is retained.
Fixes: 355835858
Flag: EXEMPT bugfix.
Change-Id: I0c1519326cadc4d048e98a7960e3f8bcc2b0ced4
parent be1c803e
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