diff options
| author | 2017-06-27 18:39:07 -0700 | |
|---|---|---|
| committer | 2017-06-29 18:17:35 -0700 | |
| commit | 549e437e14f3b92f02bd3abc7d1cd68387132ce1 (patch) | |
| tree | b7f1e2089d81ad530b1e78914ad97bdedfeaa9c7 /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | 2fa4a346ecea162d3e694c2c53582f3cc31bcc68 (diff) | |
AAPT2: Iterate over UTF-8 string by codepoints
Iterating over a UTF-8 string by codepoints ensures that
unicode characters do not get sliced. Otherwise the resulting
string could contain malformed characters.
Bug: 62839202
Test: make aapt2_tests
Change-Id: Ia0c44fbceb7dcfa11e77a1a77011da0f5466e342
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions