summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRyan Mitchell <rtmitchell@google.com>2018-11-19 12:11:38 -0800
committerRyan Mitchell <rtmitchell@google.com>2018-11-19 14:09:14 -0800
commitb85d9b2a32949d0cfd6a78701da6597a7aec39d0 (patch)
tree58397e1a7f11df04b98b500395bf905d9482c0e3 /tools/aapt2/java/JavaClassGenerator.cpp
parentb4bbd2c8a8b6f36b7d23b0b152043c5e66e262aa (diff)
Fix copying null reference across themes
When themes have two different AssetManagers, we only copy attributes that exist in both the themes. If the value of the attribute or reference is equal to 0 (a null reference but not using the TYPE_NULL type), do not attempt to fix the package id of that null reference. Bug: 119522708 Test: manual test of broken app Change-Id: Id615d5a47b7f121b08bbba885d106b9cd3f54afc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions