summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
AgeCommit message (Collapse)Author
2024-07-06[res] Simplify XmlPullParser::FindAttribute() and StringPool::Sort Yurii Zubrytskyi
1. FindAttribute used to do lots of work that C++17 does automatically 2. Use function_ref for a more efficient callback passing Test: aapt2_tests Flag: EXEMPT minor refactor Change-Id: I4f172cca16c05422992b107e347ed01479fff898
2024-07-03[aapt2] Improve dump chunks for string pools, fix diff Yurii Zubrytskyi
- `dump chunks` command now prints extra header data for the string pool, and outputs all style information for styled strings. - `diff` command used to only correctly compare the first span in the StyledString data type, making them appear different if there was a string with more than one span Flag: EXEMPT bugfix Test: atest aapt2_tests Change-Id: I377718c03d6a464cb4db22399b0f067e6a6e04d6
2022-11-29Make StringPiece to be std::string_view alias Yurii Zubrytskyi
Bug: 237583012 Test: build + boot + UTs Change-Id: I849831f4466d3b9c7ec842b75256e7fcba77a0c0
2022-05-31Move StringPool to libandroidfw Jeremy Meyer
Test: verified affected tests pass Bug: 232940948 Change-Id: I22089893d7e5013f759c39ce190bec07fa6435db