summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Bryce Lee <brycelee@google.com> 2024-08-14 20:44:05 +0000
committer Bryce Lee <brycelee@google.com> 2024-08-16 14:01:50 -0700
commit2d6d916f6547f3f8e5f73601d4136c68b813af69 (patch)
tree4414489b04c2c2b945b394e2b82a70c5e2e0ce20 /libs/androidfw/AssetsProvider.cpp
parentbe1c803e201d7fa84a91661823f218356ee9e400 (diff)
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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions