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

Commit a2f48bce authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libbinder_ndk: BAD_TYPE on bad checkInterface"

parents 4549f39c 9d089afd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ status_t ABBinder::onTransact(transaction_code_t code, const Parcel& data, Parce
                              binder_flags_t flags) {
    if (isUserCommand(code)) {
        if (!data.checkInterface(this)) {
            return STATUS_PERMISSION_DENIED;
            return STATUS_BAD_TYPE;
        }

        const AParcel in = AParcel::readOnly(this, &data);