commit | 841ce8b7b9fffcc66cf1349097ed821b94627d63 | [log] [tgz] |
---|---|---|
author | Kenny Root <kenny@the-b.org> | Fri Aug 21 15:23:45 2009 -0500 |
committer | Kenny Root <kenny@the-b.org> | Fri Aug 21 15:23:45 2009 -0500 |
tree | 748ab250a25f8013bcf30be39ff502adc6615ad9 | |
parent | 83bad3df01504e08d5a8520e46e01754bd5109b9 [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.