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

Skip to content
Commit 7a450244 authored by Devin Moore's avatar Devin Moore
Browse files

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
parent 6df92f08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment