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

Commit f87d18a3 authored by James Dong's avatar James Dong Committed by Android (Google) Code Review
Browse files

Merge "Return status code from invoke()"

parents b5fe7f53 040e4a14
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -192,7 +192,8 @@ public:
    }

    status_t invoke(const Parcel& request, Parcel *reply)
    { // Avoid doing any extra copy. The interface descriptor should
    {
        // Avoid doing any extra copy. The interface descriptor should
        // have been set by MediaPlayer.java.
        return remote()->transact(INVOKE, request, reply);
    }
@@ -334,8 +335,8 @@ status_t BnMediaPlayer::onTransact(
        } break;
        case INVOKE: {
            CHECK_INTERFACE(IMediaPlayer, data, reply);
            invoke(data, reply);
            return NO_ERROR;
            status_t result = invoke(data, reply);
            return result;
        } break;
        case SET_METADATA_FILTER: {
            CHECK_INTERFACE(IMediaPlayer, data, reply);