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

Commit 719b05d7 authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Fix NPE in MediaController2

Test: build
Change-Id: Ibd48b1515afe639f58fd20198b67e828b2c20106
parent a524400e
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(