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

Skip to content
Commit ed8837f6 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Fix binding to TestNetworkStackService

TestNetworkStackServiceClient used the production INetworkStackConnector
action in the service component instead of the test action, causing it
to bind to the production service instead of the test service.

The two services are identical apart from access restrictions, so this
was not noticed while the integration tests are running with
MAINLINE_NETWORK_STACK permissions. But when trying to change the test
to use root permissions instead, binding would fail saying that the
permission is missing, as the test service is not being used.

Fix the component to use the TestNetworkStackService action.

Bug: 203175155
Test: atest NetworkStackRootTests with followup change
Change-Id: Ifeb83a3f028ac337b3a8fcff65e97ac040e8179e
parent 2d82fb2b
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