Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e79cc3e authored by Iris Yang's avatar Iris Yang Committed by Android (Google) Code Review
Browse files

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

parents bac69433 30691cd2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
        }
    }