diff options
| author | 2022-11-15 22:21:07 +0000 | |
|---|---|---|
| committer | 2022-11-16 16:26:11 +0000 | |
| commit | 7a450244904674f78dfe7d9cb6bd96f04727131c (patch) | |
| tree | 7085c5c166d7f09b1be4e8797a861a46b7d872cc /libs/gui/LayerDebugInfo.cpp | |
| parent | 6df92f08393a088cf174494d9db279ed2305aee0 (diff) | |
libbinder_ndk: more accurate error for array allocator failure
The allocator can fail due to no memory.
In the non-nullable case, it can also fail if the array is null. So we
return STATUS_UNEXPECTED_NULL in those cases.
Test: run the following with local changes to remove the oemlock HIDL
service and applying patchset 2 of ag/20460045
Test: atest GtsOemLockServiceTestCases
Bug: na
Change-Id: I385780cd407e2d0b5707032ff39ae20c937eea66
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions