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

Commit c847c883 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am f65dd213: am 2534c16b: am dfe0d9a0: Merge "Change order of operations so...

am f65dd213: am 2534c16b: am dfe0d9a0: Merge "Change order of operations so flag is not overwritten" into klp-dev

* commit 'f65dd213':
  Change order of operations so flag is not overwritten
parents 0c3e1df7 f65dd213
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1471,13 +1471,13 @@ public final class ActivityStackSupervisor {
                            // We really do want to push this one into the
                            // user's face, right now.
                            movedHome = true;
                            targetStack.moveTaskToFrontLocked(intentActivity.task, r, options);
                            if ((launchFlags &
                                    (FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_TASK_ON_HOME))
                                    == (FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_TASK_ON_HOME)) {
                                // Caller wants to appear on home activity.
                                intentActivity.task.mOnTopOfHome = true;
                            }
                            targetStack.moveTaskToFrontLocked(intentActivity.task, r, options);
                            options = null;
                        }
                    }