diff options
author | Izabela Orlowska <imorlowska@google.com> | 2018-02-12 11:03:42 +0000 |
---|---|---|
committer | Izabela Orlowska <imorlowska@google.com> | 2018-02-13 14:09:00 +0000 |
commit | d31bc123a06d2ffc2ca1b76a591a07865744ae12 (patch) | |
tree | 5debe4c21d27bb8c66622e4666c621ebe424b1b3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 40ce09581d8ef85ef9d5222d9b7c875429e913d1 (diff) |
AAPT2: normalize Manifest java identifiers.
Currently AAPT2 does not allow permissions which last piece contains the
"-" symbol (since it is an illegal character for a java identifier).
AAPT1 would normalize the last piece, therefore creating a valid java
identifier.
This CL makes AAPT2 behave in a similar way to AAPT1, but instead of
modifying the original value of the permission string, modifies only the
java identifier part, leaving the permission string unchanged.
Fixes: 72980877
Test: updated
Change-Id: Ie44317e07407341ba3e91a84d9b06980547b3448
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions