commit | 0f3267590980bccd39f2d954320aa97cf1901c0b | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Mon Mar 11 11:00:25 2019 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Mon Mar 11 11:00:25 2019 -0700 |
tree | 2c265050794cdf04c8d3c7aa0d7c0b259a47958e | |
parent | 41469c3b522f28c4590398ad6e35193b2142dda7 [diff] |
Do not convert whitespace chars above max char to regular space Using isspace and iswspace on characters above the maximum char value is undefined. This change makes aapt2 use isspace like aapt and only trims whitespace characters at or below the maximum char value like aapt2. Bug: 121017795 Test: aapt2_tests Change-Id: I015e4b77f0ff53e409e880fcf9ae104ba3444d1a