Add support of custom animation in ActivityEmbeddingController
Because ActivityEmbeddingAnimationRunner will union the bounds of open changes as the animation parent size (Animation#initialize), it won't animate on a small region as DefaultTransitionHandler that uses end bounds. E.g. one {OPEN,FILL_TASK} TaskFragment and two {CLOSE} TaskFragment. Bug: 288233059 Test: atest ActivityEmbeddingControllerTests# \ testShouldAnimate_containsAnimationOptions Test: With a device that supports activity embedding. Below cases can run their specified animation: 1. Launch Settings->Display->Brightness level 2. Security->Device unlock->Fingerprint Unlock while a secured lock is set and the device only uses fingerprintStatusUtils.getSettingsClassName(). Change-Id: Idda515ba483c1c55508dd07450f10f3e9f232e52
Loading
Please register or sign in to comment