Add support for swiping back to the shortcut that launched the activity
Bug: 129067201 Test: Open a shortcut on the workspace, go home Change-Id: If5d3c3e8e93f09af50aa4994094657347890ef45 Signed-off-by: Winson Chung <winsonc@google.com>
This commit is contained in:
@@ -523,7 +523,7 @@ public class TaskView extends FrameLayout implements Reusable {
|
||||
if (mTask != null) {
|
||||
TestLogging.recordEvent(
|
||||
TestProtocol.SEQUENCE_MAIN, "startActivityFromRecentsAsync", mTask);
|
||||
ActivityOptionsWrapper opts = mActivity.getActivityLaunchOptions(this);
|
||||
ActivityOptionsWrapper opts = mActivity.getActivityLaunchOptions(this, null);
|
||||
if (ActivityManagerWrapper.getInstance()
|
||||
.startActivityFromRecents(mTask.key, opts.options)) {
|
||||
return opts.onEndCallback;
|
||||
|
||||
Reference in New Issue
Block a user