summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/core/java/com/android/server/wm/ActivityRecord.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/ActivityRecord.java b/services/core/java/com/android/server/wm/ActivityRecord.java
index bc5ee2adfcbd..e6068d70fb47 100644
--- a/services/core/java/com/android/server/wm/ActivityRecord.java
+++ b/services/core/java/com/android/server/wm/ActivityRecord.java
@@ -4904,7 +4904,7 @@ public final class ActivityRecord extends WindowToken implements WindowManagerSe
Slog.v(TAG_STATES, "Moving to STOPPING: " + this + " (stop requested)");
}
setState(STOPPING, "stopIfPossible");
- getActivityStack().onARStopTriggered(this);
+ getRootTask().onARStopTriggered(this);
if (DEBUG_VISIBILITY) {
Slog.v(TAG_VISIBILITY, "Stopping:" + this);
}