commit | aa168d5c112f2752abaa8f560b63a05e1f45d592 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Thu Jun 07 11:07:17 2018 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Thu Jun 07 11:07:53 2018 -0700 |
tree | 8a83c99794c7601f3202bba5bd1ecef3af0684c5 | |
parent | b45444b250cb76ed264329b6b4fceaa33f7f1479 [diff] |
Do not execute controller callbacks, if controller is null Bug: 109812478 Change-Id: I55adc276fd894dd5f8913483984266327d7d482b
diff --git a/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java b/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java index 34d42ac..b0313fc 100644 --- a/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java +++ b/quickstep/src/com/android/quickstep/RecentsAnimationWrapper.java
@@ -49,6 +49,9 @@ this.mController = controller; this.targetSet = targetSet; + if (controller == null) { + return; + } if (mInputConsumerEnabled) { enableInputConsumer(); }