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

Commit 577a6ff0 authored by Martijn Coenen's avatar Martijn Coenen Committed by android-build-merger
Browse files

Merge "Don't pad before calling writeInPlace()." into pi-dev am: cfa4928a

am: a85157fc

Change-Id: I284c3808fca21625c2441e299fb526cbe9ece8a4
parents 267e995b a85157fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1277,7 +1277,7 @@ status_t Parcel::write(const FlattenableHelperInterface& val)
    if (err) return err;

    // payload
    void* const buf = this->writeInplace(pad_size(len));
    void* const buf = this->writeInplace(len);
    if (buf == NULL)
        return BAD_VALUE;