Skip to content
Commit 859ccdbd authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Ensure that launched Views implement LaunchableView

This CL throws an exception when a GhostedViewLaunchAnimatorController,
ActivityLaunchAnimator.Controller or DialogLaunchAnimator.Controller is
created for a View that does not implement LaunchableView, which can
lead to unexpected visibility bugs if the View visibility is changed
during a launch animation.

Bug: 243636422
Test: DialogLaunchAnimatorTest
Test: ActivityLaunchAnimatorTest
Test: GhostedViewLaunchAnimatorControllerTest
Test: Launched all dialogs and activities animated by DialogLaunchAnimator and ActivityLaunchAnimator
Change-Id: I1269089d3b1473e838d75b5b63659c2907493c0c
parent 6dead15c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment