Do not execute controller callbacks, if controller is null

Bug: 109812478
Change-Id: I55adc276fd894dd5f8913483984266327d7d482b
This commit is contained in:
Sunny Goyal 2018-06-07 11:07:17 -07:00
parent b45444b250
commit aa168d5c11
1 changed files with 3 additions and 0 deletions

View File

@ -49,6 +49,9 @@ public class RecentsAnimationWrapper {
this.mController = controller;
this.targetSet = targetSet;
if (controller == null) {
return;
}
if (mInputConsumerEnabled) {
enableInputConsumer();
}