From 069fbe4b581a6a26f1ce600b0b25ca9274d15b5b Mon Sep 17 00:00:00 2001 From: Wale Ogunwale Date: Wed, 29 Jul 2015 11:38:01 -0700 Subject: [PATCH] Added stack id to TaskRecord dump. Bug: 22812470 Change-Id: Ic8f3550e61ad1cf175423abe900c5f60686338a2 --- services/core/java/com/android/server/am/TaskRecord.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/core/java/com/android/server/am/TaskRecord.java b/services/core/java/com/android/server/am/TaskRecord.java index 78f9f181bae03..7e2ad2969843b 100644 --- a/services/core/java/com/android/server/am/TaskRecord.java +++ b/services/core/java/com/android/server/am/TaskRecord.java @@ -1223,6 +1223,9 @@ final class TaskRecord { if (lastDescription != null) { pw.print(prefix); pw.print("lastDescription="); pw.println(lastDescription); } + if (stack != null) { + pw.print(prefix); pw.print("stackId="); pw.println(stack.mStackId); + } pw.print(prefix); pw.print("hasBeenVisible="); pw.print(hasBeenVisible); pw.print(" mResizeable="); pw.print(mResizeable); pw.print(" firstActiveTime="); pw.print(lastActiveTime);