commit | f42b1d01133891273cc97ccf37e86e899f7e62b1 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Thu Oct 06 14:12:27 2016 -0400 |
committer | Alan Viverette <alanv@google.com> | Thu Oct 06 20:20:07 2016 +0000 |
tree | 91462ce34942e5cb1fa5967604254a0092a96786 | |
parent | 3e39774e6dd16018dec81314ad81212dc85e8ba3 [diff] |
Fix CoordinatorLayout IllegalArgumentException crash If offsetChildByInset() gets called before the child has been laid out, we don't have any bounds to work with and we should abort immediately. Bug: 31528047 Test: CoordinatorLayoutTest#testDodgeInsetBeforeLayout() Change-Id: I2262a36460f36e6dfffcfaed2da93fcbfdee9ebd