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:
parent
aa576bce02
commit
0072844e7f
|
@ -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());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue