summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-04-16 16:49:56 +0000
committerLorenzo Colitti <lorenzo@google.com>2020-04-17 04:43:06 +0000
commitc82a3e48aff54a420eb89677945d4052a0ca646b (patch)
tree6385b21543619d560640ee58f6d5f21a2ee1a067 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7e24e27dd27c3bafcd24624097df83e7c8527494 (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 Merged-In: Ibeeb5f79e8afd3350c935934713d7882f2e0281f Change-Id: Ibeeb5f79e8afd3350c935934713d7882f2e0281f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions