Merge "Add shell-transitions inTransition check to getTouchOcclusionMode" into sc-v2-dev am: 1e4d07fe1f am: ffc00be4fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15348243 Change-Id: Ib7125d938049a4030a05502a1cdc466dbf2de7dd
This commit is contained in:
@@ -1170,7 +1170,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;
|
||||
|
||||
Reference in New Issue
Block a user