diff options
author | 2025-03-20 12:17:05 -0700 | |
---|---|---|
committer | 2025-03-20 22:38:25 -0700 | |
commit | 984a84eed846b5c04265057075d574b440564168 (patch) | |
tree | 347bc58ec194f0670dbf5f6612079fc8f4fa9b99 /libs/androidfw/AssetsProvider.cpp | |
parent | c74a0961123efd89b350476e6d7a49b623e1d798 (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