commit | 5509e275a04396bfb16b3a217c5392a864398174 | [log] [tgz] |
---|---|---|
author | Dake Gu <dake@google.com> | Thu Mar 24 18:22:02 2016 -0700 |
committer | Dake Gu <dake@google.com> | Fri Mar 25 11:36:47 2016 -0700 |
tree | f1d6f103a08041e2967a5425e28b0eb4bbe9927d | |
parent | 1cf161b0830594d6a14c5e8c297b6ceab69ad254 [diff] |
leanback: Fix ItemDecoration 1. We should skip the optimizaton of checking isLayoutRequested() Because when child view's decoration changes, it will not be layout requested. 2. calculate opticalInsets is wrong, it doesn't count the decoration offset, so incorrectly put decoration insets as optical insets. Bug 27794028 Change-Id: Ide4f907764a4f35507c32ba3db764f8ad4ccd090