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

Commit a888c073 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix startActivityFromRecents didn't apply options in time."

parents e2cc1106 5e8aff4b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2641,6 +2641,9 @@ public class ActivityStackSupervisor implements RecentTasks.Callbacks {
                try {
                    mService.moveTaskToFrontLocked(task.taskId, 0, options,
                            true /* fromRecents */);
                    // Apply options to prevent pendingOptions be taken by client to make sure
                    // the override pending app transition will be applied immediately.
                    targetActivity.applyOptionsLocked();
                } finally {
                    mActivityMetricsLogger.notifyActivityLaunched(START_TASK_TO_FRONT,
                            targetActivity);