Modify TaskSystemShortcut.SplitScreen for API change.

Using View#getDisplay().getDisplayId() into
IWindowManager.overridePendingAppTransitionMultiThumbFuture()
for multi-display support.

Bug: 119530958
Test: manual
Change-Id: Icde73b2545f879771a62030c8151a86a324fa593
(cherry picked from commit 233622d907)
This commit is contained in:
lumark 2018-11-21 21:05:31 +08:00 committed by Winson Chung
parent aa576bce02
commit 0072844e7f
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ public class TaskSystemShortcut<T extends SystemShortcut> extends SystemShortcut
}
};
WindowManagerWrapper.getInstance().overridePendingAppTransitionMultiThumbFuture(
future, animStartedListener, mHandler, true /* scaleUp */);
future, animStartedListener, mHandler, true /* scaleUp */,
v.getDisplay().getDisplayId());
}
});
}