summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-10-28 07:44:08 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-28 07:44:08 -0700
commitf65dd213900603116c7b064bfdfb57662f7682c3 (patch)
tree2fea1b94dc89bba1d34ced1dd4021c514598d709
parent5894e7378b7cd1a2e4549fcfd62d7f30e5463c26 (diff)
parent2534c16b44922e19e040a999cd99b412674e63a1 (diff)
downloadframeworks_base-f65dd213900603116c7b064bfdfb57662f7682c3.zip
frameworks_base-f65dd213900603116c7b064bfdfb57662f7682c3.tar.gz
frameworks_base-f65dd213900603116c7b064bfdfb57662f7682c3.tar.bz2
am 2534c16b: am dfe0d9a0: Merge "Change order of operations so flag is not overwritten" into klp-dev
* commit '2534c16b44922e19e040a999cd99b412674e63a1': Change order of operations so flag is not overwritten
-rw-r--r--services/java/com/android/server/am/ActivityStackSupervisor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/am/ActivityStackSupervisor.java b/services/java/com/android/server/am/ActivityStackSupervisor.java
index b510643..7650a65 100644
--- a/services/java/com/android/server/am/ActivityStackSupervisor.java
+++ b/services/java/com/android/server/am/ActivityStackSupervisor.java
@@ -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;
}
}