From 61574705d34a31a60b53f7dd7231f1dcb1e31608 Mon Sep 17 00:00:00 2001 From: Craig Mautner Date: Mon, 12 Aug 2013 12:29:40 -0700 Subject: [PATCH] Remove incorrect warning. The warning about an ActivityRecord not being assigned a task was incorrect in the location modified by this fix. In this case an existing ActivityRecord is relaunched so it is not necessary to assign the task to the passed ActivityRecord. Addresses the warning associated with bug 10181389. Change-Id: I76d5066c320bf9da2663bc34bcaca801ad4953bc --- .../java/com/android/server/am/ActivityStackSupervisor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/java/com/android/server/am/ActivityStackSupervisor.java b/services/java/com/android/server/am/ActivityStackSupervisor.java index 86349290fffe5..080886187da82 100644 --- a/services/java/com/android/server/am/ActivityStackSupervisor.java +++ b/services/java/com/android/server/am/ActivityStackSupervisor.java @@ -1684,9 +1684,6 @@ public final class ActivityStackSupervisor { setLaunchHomeTaskNextFlag(sourceRecord, null, targetStack); targetStack.resumeTopActivityLocked(null); } - if (r.task == null) Slog.v(TAG, - "startActivityUncheckedLocked: task left null", - new RuntimeException("here").fillInStackTrace()); return ActivityManager.START_DELIVERED_TO_TOP; } }