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

Commit e3b2591d authored by Evan Rosky's avatar Evan Rosky
Browse files

No-op an unused API for Shell Transitions

Another api was added to RecentsAnimationController but this doesn't
have a use in Shell Transitions. It was causing a crash though, so
override it to be a no-op.

Bug: 183993924
Test: open app, go to recents, go back, observe no crash
Change-Id: I3ece5b927c8c7d27252f185ed421112fea5f12c1
parent c7726bd3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -337,6 +337,12 @@ public class RemoteTransitionCompat implements Parcelable {
                Log.e(TAG, "Failed to detach the navigation bar from app", e);
            }
        }

        /**
         * @see IRecentsAnimationController#animateNavigationBarToApp(long)
         */
        @Override public void animateNavigationBarToApp(long duration) {
        }
    }