Merge "Set touchable region for recents input consumer with shell transitions" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-03-03 20:49:39 +00:00
committed by Android (Google) Code Review

View File

@@ -522,6 +522,8 @@ final class InputMonitor {
layer = layer != null ? layer : activeRecents;
// Handle edge-case for SUW where windows don't exist yet
if (layer.getSurfaceControl() != null) {
mRecentsAnimationInputConsumer.mWindowHandle
.replaceTouchableRegionWithCrop(layer.getSurfaceControl());
mRecentsAnimationInputConsumer.show(mInputTransaction, layer);
mAddRecentsAnimationInputConsumerHandle = false;
}