summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Ibrahim Yilmaz <iyz@google.com> 2025-02-25 17:14:22 +0000
committer Ibrahim Yilmaz <iyz@google.com> 2025-02-25 20:47:49 +0000
commitb0176c2261ede928740022b2ff3e1004f3cbfde6 (patch)
tree7c56f2316e72f9b1a850431a1ca39187ddefae9e /libs/androidfw/FileStream.cpp
parent76f8854f68061ec8c74b349c9f777c31a8c561c4 (diff)
[Memory Improvement] Drop non existing items in mAdded lists
New items are added to mAddedItems whenever setData is called. This can happen regardless of whether messaging layouts are attached to the window or not. With this solution, we want to align mAddedItems and mGroups by removing the items in mAddedItems that are no longer in mGroups. This will stop mAddedItems uncontrolled growth and potentially fix the memory leak issue. Bug: 378101061 Bug: 391677602 Test: Presubmit Flag: android.widget.flags.drop_non_existing_messages Change-Id: Ic9c1cb2f9cb01608941a4b16ff01a79d816c334d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions