commit | 88721afe2f161ae23de952b790aaa8b4d3560ba8 | [log] [tgz] |
---|---|---|
author | Kenny Root <kenny@the-b.org> | Fri Aug 21 15:23:45 2009 -0500 |
committer | Kenny Root <kroot@google.com> | Fri Dec 04 13:40:54 2009 -0800 |
tree | 0f1cc4e39be75305bb9007c6d9b3cd09e23ede09 | |
parent | 8280c2b15f6875b2d387c05df23d264864eb9cd5 [diff] |
Fix bitmask in aapt's StringPool length construction The StringPool indicates the length of a string with a 16-bit integer. If the length of the string is greater than 0x7FFF, it splits it into two 16-bit integers with the first one having the high bit set. The length calculation has a small bug that masks off the 19 bits instead of the first 15 bits as intended.