commit | aa8b7ac832440f95e7c37687946c1ae4f84472b4 | [log] [tgz] |
---|---|---|
author | Tim Van Patten <timvp@google.com> | Wed Jun 02 16:01:38 2021 -0600 |
committer | Tim Van Patten <timvp@google.com> | Thu Jun 03 01:19:20 2021 +0000 |
tree | 729c0541531e7ba01f1e4505754e41b3fb1b81fe | |
parent | f3e492125bf0df905e98a138d972c917d8f028db [diff] |
Return error code directly in allocateHelper() libs/ui/GraphicBufferAllocator falsely maps error != NO_ERROR to NO_MEMORY upon allocation failure. However, from the driver implementation point of view, we need to distinguish unsupported v.s. oom, which is quite natural if the error code is returned directly. Bug: b/189221081 Test: Presubmit Change-Id: I75ce2d0d4c723c0d58ba8c27b9b68404be424ac8