Skip to content
Commit d5cee262 authored by Kangping Dong's avatar Kangping Dong
Browse files

[Thread] make InfraInterfaceController mockable

It's generally discouraged to mock a static method, so this commit
changes InfraInterfaceController#createIcmp6Socket to non-static method
and inject InfraInterfaceController into ThreadNetworkControllerService
as an external dependency.

Bug: 317555104
Change-Id: I6f88c02858279223684c781dc065a9bf84ae15ab
parent 81e64392
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment