OSDN Git Service

Include launched packageName in systrace.
authorNarayan Kamath <narayan@google.com>
Mon, 8 Jun 2015 16:39:43 +0000 (17:39 +0100)
committerNarayan Kamath <narayan@google.com>
Mon, 8 Jun 2015 16:39:43 +0000 (17:39 +0100)
commit7829c81345ce8b7e44ab22bf4433be77e0ebd8ae
treebe158f351ffae6671fb02ca6373b4ebd8f58e7d9
parent6280481af6a7fb2631012a34b03b2d6b0d01eae5
Include launched packageName in systrace.

This makes it easier to tell which package the activity manager is
launching. The downside here is that each launch shows up in a separate
row in the systrace, but this matches up with the "Start proc:" label,
which contains the package name as well and makes it easier to inspect
both simultaneously.

bug: 21632700
Change-Id: I20ebc2f2a2cf0dc74c6d7daa4bafa381ae4c4060
services/core/java/com/android/server/am/ActivityRecord.java
services/core/java/com/android/server/am/ActivityStack.java