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

Commit a91a1517 authored by Evan Rosky's avatar Evan Rosky Committed by Android (Google) Code Review
Browse files

Merge "Report layer boost at all levels, not just Activity" into rvc-dev

parents d03a5993 1a67a17a
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1897,6 +1897,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
    }
    }


    boolean needsZBoost() {
    boolean needsZBoost() {
        if (mNeedsZBoost) return true;
        for (int i = 0; i < mChildren.size(); i++) {
        for (int i = 0; i < mChildren.size(); i++) {
            if (mChildren.get(i).needsZBoost()) {
            if (mChildren.get(i).needsZBoost()) {
                return true;
                return true;