summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2025-03-20 12:17:05 -0700
committer Yurii Zubrytskyi <zyy@google.com> 2025-03-20 22:38:25 -0700
commit984a84eed846b5c04265057075d574b440564168 (patch)
tree347bc58ec194f0670dbf5f6612079fc8f4fa9b99 /libs/androidfw/AssetsProvider.cpp
parentc74a0961123efd89b350476e6d7a49b623e1d798 (diff)
[res] A bit more efficient locale collection
Don't copy the string unless it's a new locale, and limit the allocations as well Test: unit tests Flag: EXEMPT minor performance improvement Change-Id: Icfe433ab211a0ca22882bd579415a96dc40db30a
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions