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

Skip to content
Commit 595d04a3 authored by Josh Yang's avatar Josh Yang
Browse files

Introduce a skeleton PlatformAnimationLib-core lib for origin transition.

See go/origin-transition-foundation-lib-impl for the design.
This change creates a new PlatformAnimationLib-core lib which is written
in pure java so that it can be depended by sdk library to support origin
tramsitions.

The main class is OriginTransitionSession, which is a session class
maintaining states for launch/return origin transitions. Clients need
to supply an intent and IRemoteTransition interfaces, and the session
object is responsible for plugging the transition into shell transitions
and calling the corresponding IRemoteTransition to play the animation.

Flag: com.google.android.clockwork.systemui.flags.transitions_enable_origin_transitions_backend
Bug: 347060315
Test: manual test. See a demo in b/347060315#comment6
      atest PlatformAnimationLibCoreTests
Change-Id: I84cbac5959ed83b52434a86acf3155e48583a930
parent caa2c9be
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