Merge "Report layer boost at all levels, not just Activity" into rvc-dev am: a91a151790
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11937472 Change-Id: Ia2be750668b6dc8524408932662ba5213da36a24
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user