Merge "WindowInsetsAnimationController: Clarify finish javadoc" into rvc-dev

This commit is contained in:
Adrian Roos
2020-04-14 19:15:29 +00:00
committed by Android (Google) Code Review

View File

@@ -141,7 +141,10 @@ public interface WindowInsetsAnimationController {
/**
* Finishes the animation, and leaves the windows shown or hidden.
* <p>
* After invoking {@link #finish(boolean)}, this instance is no longer {@link #isReady ready}.
* After invoking {@link #finish}, this instance is no longer {@link #isReady ready}.
* <p>
* Note: Finishing an animation implicitly {@link #setInsetsAndAlpha sets insets and alpha}
* according to the requested end state without any further animation.
*
* @param shown if {@code true}, the windows will be shown after finishing the
* animation. Otherwise they will be hidden.