| commit | 41e5314a578551fc4611ff145d389184184589ea | [log] [tgz] |
|---|---|---|
| author | keyboardr <keyboardr@google.com> | Wed Jun 28 11:47:12 2017 -0700 |
| committer | Brandon Maxwell <maxwelb@google.com> | Fri Jun 30 14:38:25 2017 -0700 |
| tree | e5908f5d130537674d35e84033354e2322eebe33 | |
| parent | 7f10924e13a030fa82b58d3443af56ba63ba8271 [diff] |
Avoid NPE in ChangeOnScreenBounds when the start or end values are not populated. Will just return null in createAnimation() thus not animating (this will likely only happen if the View hasn't laid out yet, so there's nothing to animate from). Bug: 63054791 Test: ChangeOnScreenBoundsTest.java PiperOrigin-RevId: 160433277 Change-Id: Ib87d274fd6f109290ec74f2241e2fb559d6138cd