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

Commit 1bd17e25 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Merge cherrypicks of [9736358, 9736296, 9735406, 9736235, 9736059, 9736060,...

Merge cherrypicks of [9736358, 9736296, 9735406, 9736235, 9736059, 9736060, 9736236, 9736297, 9736298, 9735210, 9735309] into qt-qpr1-release

Change-Id: I6c9dd540f6fe5becd92942427a4b51e2c65597cb
parents 77e84a09 9bf11158
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -577,7 +577,8 @@ void Sensor::flattenString8(void*& buffer, size_t& size,
    uint32_t len = static_cast<uint32_t>(string8.length());
    FlattenableUtils::write(buffer, size, len);
    memcpy(static_cast<char*>(buffer), string8.string(), len);
    FlattenableUtils::advance(buffer, size, FlattenableUtils::align<4>(len));
    FlattenableUtils::advance(buffer, size, len);
    size -= FlattenableUtils::align<4>(buffer);
}

bool Sensor::unflattenString8(void const*& buffer, size_t& size, String8& outputString8) {