summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2018-10-16 12:48:38 -0700
committerRyan Mitchell <rtmitchell@google.com>2018-11-01 17:01:28 -0700
commitb3ae42e9762a826b1591ab932a6a092ad3e6c3a7 (patch)
tree0ca9b27919cb30c1d07dfcb4c0365d92768b6eef /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcfc152af9cbfc47ed4c8ab8a8b6e9ee4214206ea (diff)
Copy common resources between styles
The docuemntation of setTo states that the resources two styles from different AssetManagers have in common will be set in the destination theme. This change adds this functionality. The package ids of the attributes, the package ids of reference values, and the cookie of attribute values have to be rewritten to match the destination AssetManager. This change can later be made more generic if rewriting references between packages is needed elsewhere. Bug: 115897657 Test: libandroidfw_tests and manual test of app specified in the bug Change-Id: Iee999ea2cc8473168cac11aaf3c34e14c958e5ae
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions