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

Commit 23669cd8 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Remove Transformation.reversed()

This method was neither called nor implemented anywhere. I forgot to
remove it in ag/30153745.

Bug: 376438969
Test: N/A unused code deletion
Flag: EXEMPT unused code deletion
Change-Id: I62688e420e6e1b6715d5a583060bf2fd4157571e
parent 58cc2587
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -35,12 +35,6 @@ sealed interface Transformation {
     * The matcher that should match the element(s) to which this transformation should be applied.
     */
    val matcher: ElementMatcher

    /*
     * Reverse this transformation. This is called when we use Transition(from = A, to = B) when
     * animating from B to A and there is no Transition(from = B, to = A) defined.
     */
    fun reversed(): Transformation = this
}

internal class SharedElementTransformation(