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

Skip to content
Commit 8e804eea authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent c9d20f37
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