summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorIzabela Orlowska <imorlowska@google.com>2018-02-12 11:03:42 +0000
committerIzabela Orlowska <imorlowska@google.com>2018-02-13 14:09:00 +0000
commitd31bc123a06d2ffc2ca1b76a591a07865744ae12 (patch)
tree5debe4c21d27bb8c66622e4666c621ebe424b1b3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent40ce09581d8ef85ef9d5222d9b7c875429e913d1 (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