commit | 6dea70b9fafcb36ec9da1e19afae89c491b965d8 | [log] [tgz] |
---|---|---|
author | Danny Epstein <depstein@google.com> | Fri Jan 24 15:42:38 2020 -0800 |
committer | Danny Epstein <depstein@google.com> | Fri Jan 24 15:52:46 2020 -0800 |
tree | 3d2a40dc931f6ddde4379ec3b23c870da0eea702 | |
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