commit | 2ba1bc579fcc9085f95ca2061eabe2cd7ebe4613 | [log] [tgz] |
---|---|---|
author | Donald Chai <dchai@google.com> | Thu Nov 09 21:06:52 2017 -0800 |
committer | Donald Chai <dchai@google.com> | Fri Nov 10 17:23:26 2017 +0000 |
tree | d310c55369de6eaef9f80b61c1e13288e65aa86a | |
parent | 9e628b60ba92448045e28e920e482915c27d4d79 [diff] |
AAPT2: whitelist alphanums instead of blacklisting hyphens in package names. BCP 47 uses plus signs for name mangling, and future qualifiers may start using other reserved characters as well, so we might as well futureproof the sanitizer. Change-Id: I1be7ee4234f8e30bb0ea832372b4dc932d30550c Fixes: 69134786 Test: UtilTest.SplitNamesAreSanitized (cherry picked from commit 414e48a54143d78498dff381518c81e0c64ad56e)