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

Commit a8c16d8e authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by Android (Google) Code Review
Browse files

Merge "Sync with AOSP to make http://r.android.com/326568 merge-able."

parents 1f288866 8a706f38
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -300,14 +300,12 @@ status_t BnRadio::onTransact(
        case GET_PROGRAM_INFORMATION: {
            CHECK_INTERFACE(IRadio, data, reply);
            struct radio_program_info info;
            status_t status;

            status = radio_metadata_allocate(&info.metadata, 0, 0);
            status_t status = radio_metadata_allocate(&info.metadata, 0, 0);
            if (status != NO_ERROR) {
                return status;
            }
            status = getProgramInformation(&info);

            reply->writeInt32(status);
            if (status == NO_ERROR) {
                reply->write(&info, sizeof(struct radio_program_info));