summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-01-05 12:56:45 -0800
committerAlan Viverette <alanv@google.com>2015-01-05 12:56:45 -0800
commit5c2d8f7d51d5a944459ddc61034854c6cef7a639 (patch)
tree3e9771c74e61898d6bd811b79efe90ae4171ad50 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdd508581216ef3ef47bd474316232f269db43f03 (diff)
Don't override dialog icon drawable unless valid resource ID was set
Fixes a regression where Builder.setIcon(Drawable) would get overridden even when Builder.setIcon(int) had never been called and was still 0. Fixes attribute id to respect all valid resource IDs (e.g. non-zero). Updates documentation to reflect the long-standing override behavior. BUG: 18904762 Change-Id: I905703993a59910555d5a858e0aaecab63221a02
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions