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

This commit is contained in:
Evan Rosky
2020-06-23 15:04:17 +00:00
committed by Android (Google) Code Review

View File

@@ -1897,6 +1897,7 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
}
boolean needsZBoost() {
if (mNeedsZBoost) return true;
for (int i = 0; i < mChildren.size(); i++) {
if (mChildren.get(i).needsZBoost()) {
return true;