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

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

Merge "Add shell-transitions inTransition check to getTouchOcclusionMode" into sc-v2-dev

parents 7d1040f7 30efa574
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1169,7 +1169,8 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
        if (WindowManager.LayoutParams.isSystemAlertWindowType(mAttrs.type)) {
            return TouchOcclusionMode.USE_OPACITY;
        }
        if (isAnimating(PARENTS | TRANSITION, ANIMATION_TYPE_ALL)) {
        if (isAnimating(PARENTS | TRANSITION, ANIMATION_TYPE_ALL)
                || mWmService.mAtmService.getTransitionController().inTransition(this)) {
            return TouchOcclusionMode.USE_OPACITY;
        }
        return TouchOcclusionMode.BLOCK_UNTRUSTED;