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

Commit a5439e22 authored by Treehugger Robot's avatar Treehugger Robot
Browse files

Merge "Fix VTS fail for GraphicsMapperHidlTest" am: eef384a8

Change-Id: I346104d31743741ebac4c4fe1539179f3353d207
parents 65a070de eef384a8
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -49,7 +49,12 @@ class Gralloc0HalImpl : public V2_0::passthrough::detail::Gralloc0HalImpl<Hal> {
                 mModule, bufferHandle, descriptorInfo.width, descriptorInfo.height,
                 static_cast<int32_t>(descriptorInfo.format),
                 static_cast<uint64_t>(descriptorInfo.usage), stride);
         return static_cast<Error>(ret);
         if (ret == -EINVAL) {
             return Error::BAD_BUFFER;
         } else if (ret < 0) {
             return Error::BAD_VALUE;
         }
         return Error::NONE;
     }
     Error getTransportSize(const native_handle_t* bufferHandle, uint32_t* outNumFds,
                            uint32_t* outNumInts) override {