Merge "More debugging for bug 17721767" into lmp-mr1-dev

This commit is contained in:
Craig Mautner
2015-01-20 22:57:41 +00:00
committed by Android (Google) Code Review

View File

@@ -1478,7 +1478,7 @@ final class ActivityStack {
cancelInitializingActivities();
// Find the first activity that is not finishing.
ActivityRecord next = topRunningActivityLocked(null);
final ActivityRecord next = topRunningActivityLocked(null);
// Remember how we'll process this pause/resume situation, and ensure
// that the state is reset however we wind up proceeding.
@@ -1819,7 +1819,9 @@ final class ActivityStack {
EventLog.writeEvent(EventLogTags.AM_RESUME_ACTIVITY,
next.userId, System.identityHashCode(next),
next.task.taskId, next.shortComponentName);
next.task.taskId, next.shortComponentName + " top="
+ mStacks.get(mStacks.size() - 1).mStackId + " Callers="
+ Debug.getCallers(6));
next.sleeping = false;
mService.showAskCompatModeDialogLocked(next);