Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa168d5c authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Do not execute controller callbacks, if controller is null

Bug: 109812478
Change-Id: I55adc276fd894dd5f8913483984266327d7d482b
parent b45444b2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -49,6 +49,9 @@ public class RecentsAnimationWrapper {
        this.mController = controller;
        this.targetSet = targetSet;

        if (controller == null) {
            return;
        }
        if (mInputConsumerEnabled) {
            enableInputConsumer();
        }