commit | ce73c6f296f583223cee4385e20c640ead3ae4de | [log] [tgz] |
---|---|---|
author | Jeremy Joslin <jjoslin@google.com> | Thu Dec 29 14:49:38 2016 -0800 |
committer | Jeremy Joslin <jjoslin@google.com> | Tue Jan 17 12:51:24 2017 -0800 |
tree | 93a78a8b65cef0f7a37d2cdb425f0ff9feb85aa5 | |
parent | 998d7ca56a1268a1249e2678e529caf4e8fd95ca [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: Ida2ff860d78d86185ab9ab22232b5b6dc1e4b310 Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest BUG:33784158