Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcfc116a authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Make the dump of the window hierarchy more readable"

parents bfb36c3f 153dc9d9
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -687,11 +687,12 @@ class Task extends WindowContainer<AppWindowToken> {
        pw.println(doublePrefix + "mTempInsetBounds=" + mTempInsetBounds.toShortString());
        pw.println(doublePrefix + "mTempInsetBounds=" + mTempInsetBounds.toShortString());


        final String triplePrefix = doublePrefix + "  ";
        final String triplePrefix = doublePrefix + "  ";
        final String quadruplePrefix = triplePrefix + "  ";


        for (int i = mChildren.size() - 1; i >= 0; i--) {
        for (int i = mChildren.size() - 1; i >= 0; i--) {
            final AppWindowToken wtoken = mChildren.get(i);
            final AppWindowToken wtoken = mChildren.get(i);
            pw.println(triplePrefix + "Activity #" + i + " " + wtoken);
            pw.println(triplePrefix + "Activity #" + i + " " + wtoken);
            wtoken.dump(pw, triplePrefix, dumpAll);
            wtoken.dump(pw, quadruplePrefix, dumpAll);
        }
        }
    }
    }