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

Commit d240a8ca authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in MediaController2"

parents 916c0689 719b05d7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -317,7 +317,9 @@ public class MediaController2 implements AutoCloseable {
                isCanceled = !mRequestedCommandSeqNumbers.remove(seq);
            }
            if (isCanceled) {
                if (resultReceiver != null) {
                    resultReceiver.send(RESULT_INFO_SKIPPED, null);
                }
                return;
            }
            Session2Command.Result result = mCallback.onSessionCommand(