summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-04-16 01:52:40 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-04-16 16:23:07 +0900
commit7ea5f9fac5619e6fcdde724c8ae9aadcbdab7e9d (patch)
treebb21bc889f1a1f52729e80a5552761a6654ba254 /tools/aapt2/java/JavaClassGenerator.cpp
parent1ba04c765387bd3e9091f56d262c0494e67d24bd (diff)
Add a function to process LinkProperties coming from an agent.
There are tasks that need to be performed when receiving LinkProperties directly from a NetworkAgent (either at registration time or in subsequent updates). Currently, the only example of such a task is calling ensureDirectlyConnectedRoutes. This is currently done in handleUpdateLinkProperties, which is often unnecessary, because that method iscalled in many other cases than when receiving properties directly from an agent. Ensuring directly connected routes only needs to be done when receiving LinkProperties from the agent, because ConnectivityService does not directly manipulate routes. This CL does not do much except remove these superfluous calls and add the method. A future CL will add more code to the method. Bug: 150648313 Test: atest ConnectivityServiceTest Change-Id: Ibeeb5f79e8afd3350c935934713d7882f2e0281f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions