Merge "Reduce no-op IPC when swiping up" into udc-dev am: 77a6164f7a

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22349864

Change-Id: I64ce09293cb33c2435bf4c10f7ae999babadcccb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Riddle Hsu
2023-03-31 06:03:41 +00:00
committed by Automerger Merge Worker
@@ -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) {