summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-12-17 16:48:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2013-12-17 16:48:46 +0000
commit4e09cb9bf6165f68b42549772b74596ceb6198fe (patch)
tree7e3b47c8e4602ebb4f05d7cbe5bc36891f3bdc0a /services
parent1ba5915dd09675485d55536301fdd7d80a305504 (diff)
parent38bcf6dc8784625eb4b68634450c578719346669 (diff)
downloadframeworks_base-4e09cb9bf6165f68b42549772b74596ceb6198fe.zip
frameworks_base-4e09cb9bf6165f68b42549772b74596ceb6198fe.tar.gz
frameworks_base-4e09cb9bf6165f68b42549772b74596ceb6198fe.tar.bz2
am 38bcf6dc: am 422d7003: am f431daa2: Merge "Fix to NullPointerException on move back in ActivityStack."
* commit '38bcf6dc8784625eb4b68634450c578719346669': Fix to NullPointerException on move back in ActivityStack.
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/am/ActivityStack.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/services/java/com/android/server/am/ActivityStack.java b/services/java/com/android/server/am/ActivityStack.java
index cff959e..82d29a9 100644
--- a/services/java/com/android/server/am/ActivityStack.java
+++ b/services/java/com/android/server/am/ActivityStack.java
@@ -3147,9 +3147,7 @@ final class ActivityStack {
final TaskRecord task = mResumedActivity != null ? mResumedActivity.task : null;
if (task == tr && task.mOnTopOfHome || numTasks <= 1) {
- if (task != null) {
- task.mOnTopOfHome = false;
- }
+ tr.mOnTopOfHome = false;
return mStackSupervisor.resumeHomeActivity(null);
}