Fix dumpsys display apptoken ordering.
Ordering was bottom up stack ordering but top down apptoken ordering within each stack. This makes it top down ordering throughout the dump. Change-Id: Ie15dbbfc3b21b8df101a0803e556094142dc408e
This commit is contained in:
@@ -376,10 +376,9 @@ class DisplayContent {
|
||||
stack.dump(prefix + " ", pw);
|
||||
}
|
||||
pw.println();
|
||||
pw.println(" Application tokens in bottom up Z order:");
|
||||
pw.println(" Application tokens in top down Z order:");
|
||||
int ndx = 0;
|
||||
final int numStacks = mStacks.size();
|
||||
for (int stackNdx = 0; stackNdx < numStacks; ++stackNdx) {
|
||||
for (int stackNdx = mStacks.size() - 1; stackNdx >= 0; --stackNdx) {
|
||||
ArrayList<Task> tasks = mStacks.get(stackNdx).getTasks();
|
||||
for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) {
|
||||
AppTokenList tokens = tasks.get(taskNdx).mAppTokens;
|
||||
|
||||
Reference in New Issue
Block a user