diff options
| author | 2023-01-25 15:56:45 +0100 | |
|---|---|---|
| committer | 2023-01-30 11:08:05 +0100 | |
| commit | 859ccdbdb95959a2edf7e9748aa7d069d40ddd1f (patch) | |
| tree | 284304511d7e9183c0613d6aa48ae9f97369cf77 /libs/androidfw/AttributeResolution.cpp | |
| parent | 6dead15cd225371802dd026d0d70f0dc052d37ec (diff) | |
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions