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

Commit e7af9503 authored by Jin Seok Park's avatar Jin Seok Park Committed by Automerger Merge Worker
Browse files

Merge "Check nullity of ResultReceiver" into sc-dev am: 0f7813ec

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14972761

Change-Id: Ie13143525337f6482c1e9fb627349fe845fd1f6a
parents c5d14a44 0f7813ec
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(