commit | c88a0889137e9caf87d8bd2e825cb9e7599e4eee | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Thu Dec 01 11:22:43 2016 +0000 |
committer | Chris Banes <chrisbanes@google.com> | Thu Dec 01 11:56:39 2016 +0000 |
tree | 91388327b8cb9f8df2ba53fbba61fe4717c78de6 | |
parent | f073132a9b840d5bf3137e067d35264d0c4bad92 [diff] |
Fix dodge rect contains check Seems that Rect#contains() checks for non-empty as well as contains. Fix the check so that only views with non-empty bounds are actually dodged. Also moved some of the code around so that we don't do any unnecessary work just to fail fast. Test: included BUG: 31528047 Change-Id: I3ee0e0fe87577d02dee22a8ebd8a9e1dc031796e