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

Commit be6d6f7e authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "libbinder_ndk: BAD_TYPE on bad checkInterface"

am: a2f48bce

Change-Id: Iefac945df10e9674d8bfbdf7c7508e511cf42d41
parents 7b704823 a2f48bce
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);