summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJeremy Joslin <jjoslin@google.com>2016-12-06 07:42:38 -0800
committerJeremy Joslin <jjoslin@google.com>2016-12-19 17:53:47 -0800
commitb8418ac89aa9d8e904b848d92c1729b7c7d90a16 (patch)
tree4a76a283c9280a250b8a8c215a59ed6fa28d069e /rs/java/android/renderscript/ProgramStore.java
parent5fdc86fb27d67b0b0b79a299378de70c1bb95d1e (diff)
Implement the discovery of a network recommendation provider.
Updated the NetworkScorerAppManager to examine the list of configured network recommendation providers and to select the first valid provider. As part of this update the old logic of looking for a valid network scorer has been removed. Scorers/recommendation providers are only selected from the configured list now. The setActiveScorer() method has been deprecated as a result. The NetworkScoreService has been updated to monitor the list of potential recommendation providers and to reevaluate the binding whenever they change. It also monitors the new setting for NETWORK_RECOMMENDATIONS_ENABLED to connect or disconnect from the provider as needed. Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest BUG: 33158362 Change-Id: I450981261aa5355c1c91ec2e3a0a3b58cc65316b Merged-In: I42aeb5223da794f71f7e58cb1bdf18817200cbf2
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions