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
This commit is contained in:
Evan Rosky
2021-06-16 18:42:27 -07:00
parent c7726bd35e
commit e3b2591d32

View File

@@ -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) {
}
}