diff --git a/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java b/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java index 34d42ac927..b0313fc2bb 100644 --- a/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java +++ b/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java @@ -49,6 +49,9 @@ public class RecentsAnimationWrapper { this.mController = controller; this.targetSet = targetSet; + if (controller == null) { + return; + } if (mInputConsumerEnabled) { enableInputConsumer(); }