Correct parameter order when calling setCustomAnimation.
Only affect predict-back animation. Bug: 259427810 Test: manual, call overrideActivityTransition for close transition, verify when predict-back animation happen, the exit animation is apply to the exit activity. Test: atest ActivityTransitionTests BackNavigationControllerTests\ CustomizeActivityAnimationTest Change-Id: I5ddfc6e674deb7b3bfcd7365d525ec6d03c525ac
This commit is contained in:
@@ -286,8 +286,8 @@ class BackNavigationController {
|
||||
currentActivity.getCustomAnimation(false/* open */);
|
||||
if (customAppTransition != null) {
|
||||
infoBuilder.setCustomAnimation(currentActivity.packageName,
|
||||
customAppTransition.mExitAnim,
|
||||
customAppTransition.mEnterAnim,
|
||||
customAppTransition.mExitAnim,
|
||||
customAppTransition.mBackgroundColor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user