summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-08-30 14:25:51 -0700
committerAdam Lesinski <adamlesinski@google.com>2016-08-30 14:25:51 -0700
commit085f4957477481038e0bfe141b62c7333a99fbe0 (patch)
treeb01da46cede7f1e097ae0df0555bd07bd04b9b7d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent79758c8e7706f3cce265a881cc66df8771d3c456 (diff)
AAPT2: Revert warning when merging packages
A compiled ResourceTable may contain multiple packages. When referencing a framework attribute, for instance, the compile phase has no idea if that attribute is a USE or a DECLARATION, like so: <declare-styleable name="Foo"> <item name="android:id" /> </declare-styleable> If this file is compiled with the package 'android', then this is a declaration. If it is compiled with the package 'com.foo', this is a reference that must resolve at link time. Since this is common, warning that the package 'android' is being ignored during the merge phase is incorrect behaviour. The warning was antroduced in ag/1363992 Change-Id: I09254d79ac379439face177eb724df882d1d0ce1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions