Merge "Add a method to trigger the navigation bar animation in system" into sc-dev

This commit is contained in:
Shawn Lin
2021-06-09 01:39:49 +00:00
committed by Android (Google) Code Review

View File

@@ -152,4 +152,15 @@ public class RecentsAnimationControllerCompat {
Log.e(TAG, "Failed to detach the navigation bar from app", e);
}
}
/**
* @see IRecentsAnimationController#animateNavigationBarToApp(long)
*/
public void animateNavigationBarToApp(long duration) {
try {
mAnimationController.animateNavigationBarToApp(duration);
} catch (RemoteException e) {
Log.e(TAG, "Failed to animate the navigation bar to app", e);
}
}
}