diff options
author | Robert Carr <racarr@google.com> | 2019-04-04 12:02:51 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2019-04-05 09:16:03 -0700 |
commit | dea7bf4c32bac1c643449507be93beafae6920a3 (patch) | |
tree | da2dbcff28545ab6c8739bfe18bd773319bed443 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions