Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6e4ba167 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

[PiP2] Add PipResizeAnimatorTest

Added the PipResizeAnimatorTest for PipResizeAnimator class.
PipResizeAnimator class is optimized for testing as well in this change

- Allow supplying SurfaceControlTransactionFactory for testing purpose
- Use the local animation listener since they are implementation details
- Switch over to AnimatorListenerAdapter to avoid unnecessary,
  un-testable functions such as onAnimationRepeat

Flag: com.android.wm.shell.enable_pip2
Bug: 376133026
Test: atest WMShellUnitTests:PipResizeAnimatorTest
Change-Id: I28996ee7f5ae080278d712c50555162f3a9c3383
parent 9c1af566
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment