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

Commit 4c10981a authored by Dan Albert's avatar Dan Albert
Browse files

Fix crash from the this == NULL change.

Change-Id: If6cdca1319fffa53846eb40b5f568fc4b161abaa
parent b306ee5f
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -966,9 +966,11 @@ status_t BnAudioFlinger::onTransact(
            reply->writeInt32(sessionId);
            reply->writeInt64(notificationFrames);
            reply->writeInt32(status);
            reply->writeStrongBinder(record->asBinder());
            reply->writeStrongBinder(cblk->asBinder());
            reply->writeStrongBinder(buffers->asBinder());
            reply->writeStrongBinder(record != NULL ? record->asBinder()
                                                    : NULL);
            reply->writeStrongBinder(cblk != NULL ? cblk->asBinder() : NULL);
            reply->writeStrongBinder(buffers != NULL ? buffers->asBinder()
                                                     : NULL);
            return NO_ERROR;
        } break;
        case SAMPLE_RATE: {