Merge "Magnification treats alpha=0 windows as invisible" into pi-dev

This commit is contained in:
Phil Weaver
2018-05-18 19:29:47 +00:00
committed by Android (Google) Code Review

View File

@@ -674,6 +674,7 @@ final class AccessibilityController {
mTempLayer = 0;
dc.forAllWindows((w) -> {
if (w.isOnScreen() && w.isVisibleLw()
&& (w.mAttrs.alpha != 0)
&& !w.mWinAnimator.mEnterAnimationPending) {
mTempLayer++;
outWindows.put(mTempLayer, w);