commit | dea7bf4c32bac1c643449507be93beafae6920a3 | [log] [tgz] |
---|---|---|
author | Robert Carr <racarr@google.com> | Thu Apr 04 12:02:51 2019 -0700 |
committer | Robert Carr <racarr@google.com> | Fri Apr 05 09:16:03 2019 -0700 |
tree | da2dbcff28545ab6c8739bfe18bd773319bed443 | |
parent | dd07ae579c291a2b6ffe09bd576fd908eb9e5ddd [diff] |
Ensure getParentSurfaceControl and getSurfaceControl return valid or null SC Many places (like SurfaceAnimator#reset) expect that these SC will be valid or null, but various implementors of Animatable were not fulfilling this contract. Fulfill the contract and update the java-doc. Since everyone follows function documentation this will never happen again. Test: Existing tests pass. go/wm-smoke Bug: 129949355 Change-Id: I5acb6b3209158c4c5b258a06c5d60d9e06bb6db1