commit | bc1308a3bec3a097af377a1c3ca58da5d7c85e66 | [log] [tgz] |
---|---|---|
author | Jeremy Joslin <jjoslin@google.com> | Thu Dec 29 14:49:38 2016 -0800 |
committer | Jeremy Joslin <jjoslin@google.com> | Thu Jan 19 13:18:21 2017 -0800 |
tree | 4acc39d57ebebabf9573f856560c0e8e94da6155 | |
parent | cb925074d3e646c7aca07585a267bb17605d6030 [diff] |
Implemented the async recommendation request call. Implemented requestAsyncRecommendation() by introducing a Handler implementation to handle requests that time out and a OneTimeCallback class to prevent multiple callbacks from being sent back for the same request. Change-Id: I03875cf1d789cbc92aa4c6b500c6b519bff8e165 Merged-In: Ida2ff860d78d86185ab9ab22232b5b6dc1e4b310 Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest BUG:33784158