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

Commit 4a99ed89 authored by Kenny Root's avatar Kenny Root
Browse files

Change to new binder implementation for OBB

Change-Id: I3282df361a11fc37e94bc5ba4bd5860ae62a10e4
parent af9d667c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -449,12 +449,15 @@ public:
        }
    }

    void unmountObb(const String16& filename, const bool force)
    void unmountObb(const String16& filename, const bool force,
            const sp<IObbActionListener>& token, const int32_t nonce)
    {
        Parcel data, reply;
        data.writeInterfaceToken(IMountService::getInterfaceDescriptor());
        data.writeString16(filename);
        data.writeInt32(force ? 1 : 0);
        data.writeStrongBinder(token->asBinder());
        data.writeInt32(nonce);
        if (remote()->transact(TRANSACTION_unmountObb, data, &reply) != NO_ERROR) {
            LOGD("unmountObb could not contact remote\n");
            return;