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
30 KiB
30 KiB