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

Commit 0f7813ec authored by Jin Seok Park's avatar Jin Seok Park Committed by Android (Google) Code Review
Browse files

Merge "Check nullity of ResultReceiver" into sc-dev

parents 9328e1c7 6d62a471
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -469,7 +469,9 @@ public class MediaSession2 implements AutoCloseable {
        }
        mCallbackExecutor.execute(() -> {
            if (!controllerInfo.removeRequestedCommandSeqNumber(seq)) {
                if (resultReceiver != null) {
                    resultReceiver.send(RESULT_INFO_SKIPPED, null);
                }
                return;
            }
            Session2Command.Result result = mCallback.onSessionCommand(