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

Skip to content
Commit 37f1892d authored by Steven Moreland's avatar Steven Moreland
Browse files

binderDriverInterfaceTest: fix failure

After servicemanager was re-written in C++, it started returning a
4-byte payload for ping. Whereas before, in the C implementation, a zero
byte payload was returned.

Allowing multiple values in this test to stop presubmit failures. As a
follow-up, I will try to determine if we can switch libbinder to a
0-byte ping (and revert this CL). Alternatively, once SM is in all
branches, if we want this behavior, we can restrict this test to 4-bytes
OR we can remove this expected value from this test altogether.

This test is allowing both values and being fixed in this strange way
because an investigation will follow, and our branching structure (and
vendor prebuilts) make it hard to revert the offending change.

Fixes: 136633463
Bug: 137203409
Test: binderDriverInterfaceTest passes
    (on devices with and w/o and updated SM)
Change-Id: I43a5d10c59ae71933db40d932716cd979f802cc5
parent e416f707
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