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

Commit ffc00be4 authored by Evan Rosky's avatar Evan Rosky Committed by Automerger Merge Worker
Browse files

Merge "Add shell-transitions inTransition check to getTouchOcclusionMode" into...

Merge "Add shell-transitions inTransition check to getTouchOcclusionMode" into sc-v2-dev am: 1e4d07fe

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15348243

Change-Id: I879e388686d2433156d4ed00ce6576a835e84a57
parents 6213e3cd 1e4d07fe
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;