Merge "Reduce no-op IPC when swiping up" into udc-dev

This commit is contained in:
Riddle Hsu
2023-03-31 05:11:54 +00:00
committed by Android (Google) Code Review
@@ -766,7 +766,7 @@ public class SystemUiProxy implements ISystemUiProxy {
*/
@Nullable
public RemoteAnimationTarget[] onGoingToRecentsLegacy(RemoteAnimationTarget[] apps) {
if (mSplitScreen != null) {
if (!TaskAnimationManager.ENABLE_SHELL_TRANSITIONS && mSplitScreen != null) {
try {
return mSplitScreen.onGoingToRecentsLegacy(apps);
} catch (RemoteException e) {