Merge "Set launch display id to an action performed on RemoteViews."

This commit is contained in:
Iris Yang
2022-01-11 10:24:23 +00:00
committed by Android (Google) Code Review

View File

@@ -6628,6 +6628,7 @@ public class RemoteViews implements Parcelable, Filter {
opts = ActivityOptions.makeBasic();
opts.setPendingIntentLaunchFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
}
opts.setLaunchDisplayId(view.getDisplay().getDisplayId());
return Pair.create(intent, opts);
}
}