summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatthew Ng <ngmatthew@google.com>2018-08-02 16:01:13 -0700
committerMatthew Ng <ngmatthew@google.com>2018-08-02 16:01:13 -0700
commitb007c774641a991bbb7c35de9248e95582826185 (patch)
tree5b183d3a881498a547b4d2723370d2f0b3ee97e2 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent209d21be019e1bc38e61eba48120fcac2657faf6 (diff)
Use the current oriented button to the nav button drawable's callback
In ButtonDispatcher, when setting a new drawable, it would apply it to each of the views (orientations) for the same drawable, unfortunately the last view that was set sets the callback of the drawable to itself. This causes any invalidations to the drawable to invalid the wrong view because the callback was attached to the last view set. Fixed by applying the current view to the drawable when setting the drawable or current view. Bug: 111907556 Test: manual, log drawable's callback when invalidated Change-Id: Ifa10b86555047116637eedae50df78c1173d6c3a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions