a4fb17bbbba59c5ee92402eb8c5da4e3c52560b2 |
|
17-Jan-2018 |
Adam Lesinski <adamlesinski@google.com> |
aapt2: Fix issue with Manifest duplicate handling Fixed a memory-corruption issue that led to multiple duplicate permission entries being generated for Manifest.java. Bug: 71641288 Test: make aapt2_tests Change-Id: I8cd37929c4883aaba2beebbf874c7ee3234d51d8
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
a693c4a32ebed4e96dcc1cf6a706e8ebbb004db2 |
|
09-Nov-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Move all file output to FileOutputStream FileOutputStream is safe to use on Windows, as it opens files using our compatibility API. Bug: 68262818 Test: make aapt2_tests Change-Id: Ib0b27e93edd609b49b1327db7d9867a002198ebb
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
761d4341fcbb711f55d73a31e79098837146236d |
|
29-Sep-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fix R.java styleable + indices ordering Make sure that Styleables are directly followed by their indices. If not, Robolectric breaks. This is not strictly incorrect to have an arbitrary ordering in R.java, but its easier to just support Robolectric in this case. Bug: 65837293 Test: make aapt2_tests (cherry picked from commit af85c4deb667843a227d62275fe6992005f4c38d) Change-Id: Ia59ba58427ade386d075ca9fc9eb5b53e35beca0
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
f852dd0eb86e461f1f039f6a292e62123757dad8 |
|
19-Aug-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Fix regression in Manifest.java permissions Permissions defined with the same leaf name emit the same string symbol, which causes collisions. AAPT would override the symbol with the last one seen. Do the same thing as AAPT, but emit a warning. Bug: 64472942 Test: make aapt2_tests Change-Id: I17b9dc7e8d8bd80db98869394c93695cb453bebd
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
09f4d706d9438980465faabe81ed143fc299343e |
|
08-Aug-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Forward @TestApi in resource comments to JavaDoc Bug: 37894597 Test: make aapt2_tests Change-Id: I357fb84941bfbb3892a8c46feb47f55b865b6649
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
ceb9b2f80f853059233cdd29057f39a5960a74ae |
|
16-Feb-2017 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Shared library support Test: make aapt2_tests Change-Id: I98dddf1367e6c0ac425bb20be46e6ff05f4f2f45
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
d5083f6f6b9bc76bbe64052bcec639eee752a321 |
|
17-Jan-2017 |
Adam Lesinski <adamlesinski@google.com> |
Move StringPiece to libandroidfw libandroidfw needs to make use of StringPiece, so move it to libandroidfw and update all code referencing StringPiece in aapt2. Test: make libandroidfw_tests libaapt2_tests Change-Id: I68d7f0fc7c651b048d9d1f5e7971f10ef5349fa1
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
ce5e56e243d262a9b65459c3bd0bb9eaadd40628 |
|
22-Oct-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Rename to match new style Use Google3 naming style to match new projects' and open source google projects' style. Preferred to do this in a massive CL so as to avoid style inconsistencies that plague legacy code bases. This is a relatively NEW code base, may as well keep it up to date. Test: name/style refactor - existing tests pass Change-Id: Ie80ecb78d46ec53efdfca2336bb57d96cbb7fb87
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|
6cbfb1de493e42d937158ed57495c9656864ccba |
|
31-Mar-2016 |
Adam Lesinski <adamlesinski@google.com> |
AAPT2: Change how we generate Java classes Previously we would be writing out the Manifest.java file as we processed the AndroidManifest.xml. This would lead to empty Manifest classes if there were no permissions or permission groups defined in the AndroidManifest.xml. This would pose problems for processes that checked for public classes and considered them part of the API (support lib). Now we collect the structure of the Java class in memory before deciding if a file should be created. Change-Id: I6b909f28d74356414c6ef5ad005180d6ea5e44ca
/frameworks/base/tools/aapt2/java/ClassDefinition.cpp
|