commit | c2b0782c3798ccab5059b0a2fec33d9bd8a08e66 | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Wed Nov 07 10:28:56 2018 -0800 |
committer | Ryan Mitchell <rtmitchell@google.com> | Wed Nov 07 10:28:56 2018 -0800 |
tree | 17e642d6593ecd8d3b7e451925d416953ebab7cc | |
parent | 70c02611090acb5627aaa71b3d5cbac8229c80d7 [diff] |
Fix flaky idmap test The entry pool is encoded in UTF-8 not UTF-16. This would cause stringAt to return a pointer to a cache that holds the UTF-8 string converted to UTF-16. If the cache becomes invalidated, the UTF-16 pointer is no longer valid and causes seg faults when looked up. Test: libandroidfw_tests Change-Id: I0f13dbeadd0d148de2805efd6cadb8e220368e3b