summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2023-05-22 12:39:05 +0000
committer Robin Lee <rgl@google.com> 2023-05-22 12:39:08 +0000
commit795766d027d5cccdbe239c2701274addec023a92 (patch)
treeb9fa08ebd7897f8da083e7a8e4ec328cd85cfd5d /libs/androidfw/StringPool.cpp
parent39169f811534ff3a4341697b206125951ada6e34 (diff)
Avoid saving result from WeakHashMap.size()
This value is only valid until the next call on the hash map because it can garbage collect before anything that resizes or accesses the backing table Bug: 266978825 Change-Id: I8c8e2df8c205130da0d3831b88450cc2534f97bb
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions