+49
−93
packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/SceneTransitionLayoutImpl.kt
+2
−13
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This CL makes PredictiveBackHandler reuse SwipeAnimation instead of implementing its own transition. This makes the back transition work out of the box with overlays. Because PredictiveBackHandler used to handle previews but SwipeAnimation didn't, the preview animation logic from PredictiveBackHandler was moved to SwipeAnimation, making previews now work with all swipe transitions. Bug: 353679003 Test: PredictiveBackHandlerTest Test: OverlayTest Flag: com.android.systemui.scene_container Change-Id: Ibef4b8f2a1a2658e8028c41149852b88440e0da0