Do not execute controller callbacks, if controller is null
Bug: 109812478 Change-Id: I55adc276fd894dd5f8913483984266327d7d482b
This commit is contained in:
parent
b45444b250
commit
aa168d5c11
|
@ -49,6 +49,9 @@ public class RecentsAnimationWrapper {
|
|||
this.mController = controller;
|
||||
this.targetSet = targetSet;
|
||||
|
||||
if (controller == null) {
|
||||
return;
|
||||
}
|
||||
if (mInputConsumerEnabled) {
|
||||
enableInputConsumer();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue