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

Commit f97980eb authored by Schneider Victor-tulias's avatar Schneider Victor-tulias
Browse files

Add null check to ActivityManagerWrapper#startRecentsActivity

Flag: N/A
Bug: 324228222
Test: attempted several swipes up to home with a non-null handler
Change-Id: I7f4c6da11771ebf04d8d88acdc76a7681a6fdff5
parent 4ed36dcd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ public class ActivityManagerWrapper {
            final RecentsAnimationListener animationHandler, final Consumer<Boolean> resultCallback,
            Handler resultCallbackHandler) {
        boolean result = startRecentsActivity(intent, eventTime, animationHandler);
        if (resultCallback != null) {
        if (resultCallback != null && resultCallbackHandler != null) {
            resultCallbackHandler.post(new Runnable() {
                @Override
                public void run() {