diff options
author | Danny Epstein <depstein@google.com> | 2020-01-24 15:42:38 -0800 |
---|---|---|
committer | Danny Epstein <depstein@google.com> | 2020-01-24 15:52:46 -0800 |
commit | 6dea70b9fafcb36ec9da1e19afae89c491b965d8 (patch) | |
tree | 3d2a40dc931f6ddde4379ec3b23c870da0eea702 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 659a8bc08f2378f1c70455311486144633000a39 (diff) |
Don't draw default focus highlight unless focused.
We shouldn't assume that mDefaultFocusHighlight being no-null means
that we should draw it because we don't tear it down when the view
is unfocused.
Also add a call to draw the default focus highlight in the uncommon
case where steps 2 and 5 can't be skipped.
Bug: 148296147
Test: manual
Change-Id: I827abdfa9f64edeb6e6c232f71db3784c29fd0a8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions